A rocket exploded inside the Gaza Strip after being launched from Gaza's southern city Rafah, Palestinian media sources reported.