Abdullah bin Umar reported,

While the people were praying in the mosque of Quba, a man came and said, "The Messenger of Allah ﷺ has had Quran revealed to him, and he has been commanded to face the Kaabah." So they turned around.

Ahmad 5827

Sahih

حدثنا إسماعيل بن عمر حدثنا سفيان عن عبد الله بن دينار

عن ابن عمر قال

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

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