Qibla: the prayer direction and finding it

Islamic Fiqh > Prayer > Qibla: the prayer direction and finding it

Which way to pray from abroad? The Kaaba, the effort rule, the pardoned error and modern finding tools.

Updated on 06 October 2026 at 10:50 PM

Qibla was changed from Jerusalem to Mecca in Medina: "turn your face toward the Sacred Mosque; and wherever you are, turn your faces toward it" (sura al-Baqara 144). The change was announced mid-prayer: the Prophet (may Allah's peace and blessings be upon him) turned the other way in the middle of 2 rak'as (al-Bukhari 393, the Bani Salama).

The effort rule for finding the qibla (ijtihad al-wus')

  • Whoever sees the Kaaba: targets it really.
  • Whoever does not see it: makes his effort (astronomical computation, compass, tools); his orientation is valid even if slightly off.
  • Whoever cannot determine (no tool or landmark): prays in the direction he judges most probable; his prayer is valid, and he need not redo it after information, per the majority.
  • Whoever is forced (bound, immobilized sick, vehicle): prays per his situation; the heart targets qibla.
  • Dar al-Ifta Misriyya (Atiyya Saqr's fatwa, p. 185): facing the qibla is a validity condition of the obligatory (sura al-Baqara 144), resident and traveling alike; the traveler's voluntary prayer follows the heading (al-Bukhari and Muslim, from 'Amir ibn Rabi'a); the train, ship or plane passenger able to move faces the qibla and follows it wherever it turns; if he cannot, he prays per what he can and the impossible gestures fall away; the car occupant alights to pray if the stop is safe.

Modern determination of the qibla

Stars are the sky's safety; when they vanish, what was promised comes. And I am the safety of my Companions.

Muslim 101

Muslims navigated by stars from the start: astronomical qibla determination (great circle to the Kaaba, exact angle per city) completes that science; current applications compute it to the degree. The historical divergence (great circle vs rhumb line) is settled by experts' practical consensus: the great circle.

Ibn Baz (Fatawa Nur ala ad-Darb, pp. 77-80) applies the rule mid-flight: the obligatory follows the qibla turning with the aircraft, standing if possible; Dar al-Ifta Misriyya (Atiyya Saqr's fatwa, p. 484) notes that navigators know it by approximation or compass: effort suffices, estimation error is pardoned.

Pardoned qibla errors

  • Estimation error without tools: pardoned by consensus.
  • Discovering the error during prayer: turn and continue (reported of the Prophet praying toward Jerusalem then turned, al-Bukhari 393).
  • After salam, discovering a gross error: redo it per scholars' caution, except invincible ignorance.

Practical note on the qibla

Fix your room's qibla once for all (wall, discreet sticker) and verify with 2 independent sources: direction is not guessed, it is computed; effort suffices, perfection is not asked.

The evidence among the classical schools

Al-Mughni by Ibn Qudama · Hanbali school

Chapter: facing the qibla. Facing the qibla is a condition for the validity of prayer, except in the two situations mentioned by al-Khirqi, may Allah have mercy on him. The origin of this is the word of Allah, the Most High: "Wherever you are, turn your faces toward it", that is, toward its side, as they recited (in verse): "Is there no one to bring us a message about Amr, and what good is a message for half of Amr", that is, toward the side of Amr. The Arabs say: "these people are our neighbors" when their houses face one another. And Ali (may Allah be pleased with him) said: "its direction (shatr) is its qibla". It was reported from al-Bara that he said: the Messenger of Allah (peace and blessings of Allah be upon him) arrived and prayed for sixteen months toward (Bayt al-Maqdis), then he was directed toward the Kaaba.

Sources and references

Other pages of this pillar

Explore other sections

بسم الله الرحمن الرحيم Wed 24 Rabi' al-Thani
الأربعاء 24 ربيع الآخر
هلال متناقص Waning Crescent Day 25.5 / 29.5
Illumination 17%
New moon in 4 days
حسبنا الله ونعم الوكيل Allah is sufficient for us, the best guardian

إِنَّ ٱللَّهَ وَمَلَٰٓئِكَتَهُۥ يُصَلُّونَ عَلَى ٱلنَّبِىِّ ۚ يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ صَلُّوا۟ عَلَيْهِ وَسَلِّمُوا۟ تَسْلِيمًا

God and His angels shower their blessings on the Prophet. O believers, you should also send your blessings on him, and salute him with a worthy greeting.

Al-Ahzab 33:56

Blessings on the Prophet ﷺ