hmmm. How would a Muslim pray towards Mecca if they are on the dark side of the moon?
About twenty years ago, a Saudi astronaut went on a U.S. shuttle mission. Imams recommended that in orbit he face towards the Earth for prayers while simulating ritual handwashing. Ironically, there were several French astronauts on the same mission. They made the Saudi look likeable by comparison.