Anas bin Malik reported,

The Messenger of Allah ﷺ used to pray facing Bayt al-Maqdis when the verse was revealed, "We have certainly seen the turning of your face toward the heaven, so We will surely turn you to a qiblah with which you will be pleased. So turn your face toward the Sacred Mosque" [Baqarah 2:144].A man from the tribe of Banu Salama passed by people who were bowing in the dawn prayer, having already completed one rakah. He called out, "Listen, the qiblah has been changed! Listen, the qiblah has been changed to the Kaabah!"So they turned, just as they were, toward the new qiblah.

Ahmad 14034

Sahih

حدثنا عفان حدثنا حماد عن ثابت

عن أنس

أن رسول الله ﷺ كان يصلي نحو بيت المقدس فنزلت {قد نرى تقلب وجهك في السماء فلنولينك قبلة ترضاها فول وجهك شطر المسجد الحرام} فمر رجل من بني سلمة وهم ركوع في صلاة الفجر وقد صلوا ركعة فنادى ألا إن القبلة قد حولت ألا إن القبلة قد حولت إلى الكعبة قال فمالوا كما هم نحو القبلة

أحمد 14034صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 14034
Ahmad 14034