Sahih al-Bukhari 4490
Book 65: Prophetic Commentary on the Qur'an (Tafseer of the Prophet (pbuh)) · Hadith 17
Hadith text
Narrated Ibn `Umar:While some people were offering morning prayer at Quba' a man came to them and said, "A Qur'anic Order has been revealed to Allah's Messenger (ﷺ) tonight that he should face the Ka`ba at Mecca (in prayer), so you too should turn your faces towards it." At that moment their faces were towards Sham (i.e. Jerusalem) (and on hearing that) they turned towards the Ka`ba (at Mecca)
Ibn Umar bataate hain: Jab Quba mein kuch log Fajr ki namaz padh rahe the, ek shaks unke paas aaya aur kaha, 'Aaj raat Allah ke Rasool (SAW) par ek Quraani hukm naazil hua hai ke wo (namaz mein) Kaaba ki taraf rukh karein, isliye tum bhi Kaaba ki taraf rukh karo.' Us waqt unke chehre Sham (Yerushalem) ki taraf the, (ye sunte hi) wo Kaaba ki taraf mud gaye.
Sahih al-Bukhari 4490 · Book 65, Hadith 17
Read all hadith in Book 65: Prophetic Commentary on the Qur'an (Tafseer of the Prophet (pbuh))