To Allah belongs the East and the West. So whichever way you turn ( while praying ) there is Allah’s Face. Indeed Allah is Omnipresent and Omniscient.
Surely, We see your face turned towards heaven ( yearning for guidance through revelation ). We shall turn you towards a Qibla that will please you. Turn your face then towards the Sacred Mosque ( the Sacred Mosque of Mecca, the Kaaba ); and wherever you are turn your faces towards it. Those who were given the Book ( the Jews and Christians ) certainly know this to be the Truth from their Lord. Allah is not unaware of what they do.