In a hypothetical conversation, a friend of mine that is atheist asked how a Muslim can find qibla if the salat is performed out from Earth (in the Moon or Mars, by example). Is praying in direction to the Earth is enough?

  • Even when you live in Earth, do never think you are praying 100% towards qibla. Just one centimeter "wrong" and you are for awaaay from qibla.
    – Kilise
    Commented Feb 3, 2017 at 15:06

4 Answers 4


Disclaimer - I am not a scholar. If you need a scholarly answer to this question, go and talk to someone more appropriate, such as the sheikh at your local masjid.

From either the moon or Mars, the earth is so small in the sky that it is impossible to distinguish facing one point on the earth from facing any other point on the earth. So "facing the earth" is the best you can do, for the Qiblah direction.

At an altitude that varies from 330km to 410 km, the International Space Station is close enough to earth that it is meaningful to ask about the direction of the Qiblah. Malaysian Muslim astronaut Sheikh Muszaphar Shukor was briefly stationed there in 2007. In his words,

“Time for fasting and prayer depends on where you are situated in space. As the space shuttle was launched from Kazakhstan, we took into consideration the local time in Kazakhstan. I prayed five times a day by taking into consideration the time in Kazakhstan. You had to turn your face toward the earth in order to pray in the direction of Mecca. The Space Station was in a position from where you could see the earth directly,”

There is an interesting interview with this astronaut at https://www.facebook.com/note.php?note_id=10150350145901041 and a video of his salah at http://www.youtube.com/watch?v=8rVpxyx8z3g

  • 1
    What if someone was at the antipode of the side of the moon facing the Earth? That is, the direction to the Earth would be perpendicular to the tangent of the surface of the moon. Earth either right beneath the feet or right above the head. Commented Jan 11, 2014 at 18:04
  • 1
    For that I know. Any arbitrary direction would. Technically at that point if one would move straight in any direction while on Earth Kaaba could be reached, but that's not the case on the moon. Commented Jan 11, 2014 at 18:17
  • Facing the earth will be foolish because We don't direct to qibla rather we direct to the direction of allah. Which is a straight line that goes through the Baitul Haram, Baitul Mamur and the each room situated in the seven skies. Remember you are not praying for the Building of Qibla. Rather Qibla is a good place which shows us the place in which we direct to pray salah. You only should pray for Allah. Allah knows the best Commented Apr 18, 2019 at 7:12

On the Qiblah direction

This matter has already been discussed long ago by Muslim scholars and the issue actually has a pragmatic solution.

As Allah said:

... So turn your face toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces toward it [in prayer]. .. (2:144)

This actually is the issue as each time you pray you need to face -at least for the beginning of your prayer- the correct direction, which in this case is the actual direction of earth (according both Shi'a and Sunni Scholars). As the Ka'abah or al-Masjid al-Haraam are on earth and facing the actual position of the Ka'abah is rather difficult and therefore a deviation is allowed.

Note that even on earth a deviation from the qiblah is allowed in case of necessity or incertitude. Else I bet most mosques around the world should have been rearranged after the introduction and use of GPS. Actually I know two mosques in the same district in city in Morocco which point to somewhat different qiblah directions I'd assume that the deviation angle is of > 25°, it even happened that people outside the mosque missed the qiblah direction of the mosque by around 45° at Friday's when the mosque is too crowded.

In case you are able to read Arabic refer to these two fatwas addressing your question:
islamweb #28158 and
islamweb #135469 which is even addressing the matter of tahara (wudu').

On the prayer times

As for the case of prayer times there's an issue, as for example astronauts staying on the ISS would during 24 h (earth time, as they usually use GMT on the station) face 16 day/night changes.

Some researcher hold the opinion that these people should chose earthly prayer times either of the location they started from or Mekka or based on Greenwich time (as GMT is used on the station) as stated in this article -in Arabic-. He based these opinions on the hadith about the sojourn of ad-Dajjal:

… We said: Allah's Messenger, how long would he stay on the earth? He (ﷺ) said: For forty days, one day like a year and one day like a month and one day like a week and the rest of the days would be like your days. We said: Allah's Messenger, would one day's prayer suffice for the prayers of day equal to one year? Thereupon he (ﷺ) said: No, but you must make an estimate of time (and then observe prayer). …
(See in Sahih Muslim, Jami' at-Tirmidhi and a shorter version in Sunan abi Dawod)

However the only fatwa I found on this topic (see here in Arabic) refers to how to pray in places on earth were days may get too long or too short (see the fatwa here -in Arabic-) namely those locations close to the two poles (north and south pole). This means one should pray according the local time. Which may mean for the example of astronauts on the ISS: praying up to 80 Fard prayer during 24 h. This sounds like hardship to me as they hardly would have time to work.

Some more references -in Arabic-:
This article in the newspaper of ar-Riyadh.
And this thread both seem to support the view of estimating times based on a location on earth.


A very nice question, to the extent of my knowledge if that was on moon with the current simulations and the gravitational difference there, If there would be high magnetic vertical stand and the astronaut could stand on it, it must have a GPS that synchronises itself with Ka'bah, then I think the prayer will be valid. It changes its direction with it.

For that of time, in my consideration standard earth time GMT+0 i.e Greenwhich time must be used as we must follow it in accordance to earth as we are on an extraterrestrial planet.



God never said that praying in another direction than Qibla will make your prayer invalid. If you don't know where to look just pray in any direction, God is everywhere. There is a hadith about that when some people asked the Prophet what to do when there is no sun or stars to locate the East but I can't find it anymore.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .