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.
حدثنا وكيع عن سفيان عن عبد الله بن دينار
بينا الناس في مسجد قباء في صلاة الصبح إذ أتاهم آت فقال إن رسول الله ﷺ قد نزل عليه قرآن ووجه نحو الكعبة قال فانحرفوا
No references are available.
Its isnad is sahih, and it is a repetition of 4642.