The qiblah: facing the Ka‘bah
To pray, a Muslim faces the Ka‘bah in Mecca: “So turn your face towards the Sacred Mosque. Wherever you are, turn your faces towards it” (2:144). Facing the qiblah is a condition for the prayer to be valid, unless it is impossible. Whoever does not know the direction does his best to find it, and his prayer is valid even if he is mistaken.
qibla.jpgقَدۡ نَرَىٰ تَقَلُّبَ وَجۡهِكَ فِي ٱلسَّمَآءِۖ فَلَنُوَلِّيَنَّكَ قِبۡلَةٗ تَرۡضَىٰهَاۚ فَوَلِّ وَجۡهَكَ شَطۡرَ ٱلۡمَسۡجِدِ ٱلۡحَرَامِۚ وَحَيۡثُ مَا كُنتُمۡ فَوَلُّواْ وُجُوهَكُمۡ شَطۡرَهُۥۗ وَإِنَّ ٱلَّذِينَ أُوتُواْ ٱلۡكِتَٰبَ لَيَعۡلَمُونَ أَنَّهُ ٱلۡحَقُّ مِن رَّبِّهِمۡۗ وَمَا ٱللَّهُ بِغَٰفِلٍ عَمَّا يَعۡمَلُونَ﴿١٤٤﴾
We have certainly seen the turning of your face, [O Muhammad], toward the heaven, and We will surely turn you to a qiblah with which you will be pleased. So turn your face toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces toward it [in prayer]. Indeed, those who have been given the Scripture well know that it is the truth from their Lord. And Allah is not unaware of what they do
Your location stays in your browser: it is not sent anywhere.
The reference text
«أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم صَلَّى إِلَى بَيْتِ الْمَقْدِسِ سِتَّةَ عَشَرَ شَهْرًا أَوْ سَبْعَةَ عَشَرَ شَهْرًا، وَكَانَ يُعْجِبُهُ أَنْ تَكُونَ قِبْلَتُهُ قِبَلَ الْبَيْتِ … فَمَرَّ عَلَى أَهْلِ الْمَسْجِدِ وَهُمْ رَاكِعُونَ قَالَ أَشْهَدُ بِاللَّهِ لَقَدْ صَلَّيْتُ مَعَ النَّبِيِّ صلى الله عليه وسلم قِبَلَ مَكَّةَ، فَدَارُوا كَمَا هُمْ قِبَلَ الْبَيْتِ»
“The Messenger of Allah ﷺ prayed towards Jerusalem for sixteen or seventeen months, and he wished his qiblah to be towards the House. [...] A man passed by the people of a mosque while they were bowing and said: “I bear witness by God that I prayed with the Prophet ﷺ facing Mecca.” So they turned, as they were, towards the House.”
Sahih al-Bukhari 4486 · Read on sunnah.com
Sources: Coran 2:125-127, 2:142-150 ; Sahîh al-Bukhârî 4486 ; Ibn Kathîr, Tafsîr, sur 2:142-150 ; Ibn Rushd, Bidâyat al-mujtahid, bâb istiqbâl al-qibla ; Calcul de direction : orthodromie (grand cercle) vers la Ka'ba, 21,4225° N, 39,8262° E