Hadith on Qiblah: Changing direction of prayer from Jerusalem to Mecca

Anas ibn Malik reported: The Messenger of Allah, peace and blessings be upon him, used to pray towards the Sacred House in Jerusalem, then it was revealed to him, “We have certainly seen you turning your to the heaven. We will surely turn you to a direction of prayer that will please you. Turn your face toward the Sacred Mosque,” (2:144). A man from the tribe of Salimah passed those who were bowing in dawn prayer, having finished one cycle. The man announced, “Indeed, the direction of prayer has been has been changed!” They moved their direction while in that state.

In another narration, Al-Bara’ said: They changed their direction as they were bowing in afternoon prayer.

Source: Ṣaḥīḥ al-Bukhārī 390, Ṣaḥīḥ Muslim 527

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

عَنْ أَنَسٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يُصَلِّي نَحْوَ بَيْتِ الْمَقْدِسِ فَنَزَلَتْ قَدْ نَرَى تَقَلُّبَ وَجْهِكَ فِي السَّمَاءِ فَلَنُوَلِّيَنَّكَ قِبْلَةً تَرْضَاهَا فَوَلِّ وَجْهَكَ شَطْرَ الْمَسْجِدِ الْحَرَامِ فَمَرَّ رَجُلٌ مِنْ بَنِي سَلِمَةَ وَهُمْ رُكُوعٌ فِي صَلَاةِ الْفَجْرِ وَقَدْ صَلَّوْا رَكْعَةً فَنَادَى أَلَا إِنَّ الْقِبْلَةَ قَدْ حُوِّلَتْ فَمَالُوا كَمَا هُمْ نَحْوَ الْقِبْلَةِ

وفي رواية أخرى قال الْبَرَاء فَانْحَرَفُوا وَهُمْ رُكُوعٌ فِي صَلاَةِ الْعَصْرِ

390 صحيح البخاري كتاب الصلاة أبواب استقبال القبلة » باب التوجه نحو القبلة حيث كان

527 صحيح مسلم كتاب المساجد ومواضع الصلاة باب تحويل القبلة من القدس إلى الكعبة