Abdullah bin Umar reported,

While the people were in the mosque of Quba performing the dawn prayer, someone came to them and said, "Quran has been revealed to the Messenger of Allah ﷺ tonight, and he has been directed to face the Kaabah."So they turned to face it.

Ahmad 4794

Sahih

حدثنا وكيع عن سفيان عن عبد الله بن دينار

عن ابن عمر قال

بينا الناس في مسجد قباء في صلاة الصبح إذ أتاهم آت فقال إن رسول الله ﷺ قد نزل عليه قرآن ووجه نحو الكعبة قال فانحرفوا

أحمد 4794صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 4794
Ahmad 4794