BAYHAQI 2239:
from Ibn ʿUmar —
[AI] While the people were in Qubāʾ performing the dawn prayer, a messenger came to them and said, “Indeed, a portion of the Qur’an has been revealed to the Messenger of Allah ﷺ, and he has been commanded to face the Kaʿbah, so face it.” Their faces had been toward Syria, so they turned around toward the Kaʿbah.
البيهقي ٢٢٣٩:
عن ابن عمر —
بَيْنَمَا النَّاسُ بِقُبَاءَ فِي صَلَاةِ الصُّبْحِ إِذْ جَاءَهُمْ آتٍ فَقَالَ إِنَّ رَسُولَ اللهِ ﷺ قَدْ أُنْزِلَ عَلَيْهِ قُرْآنٌ وَقَدْ أُمِرَ أَنْ يَسْتَقْبِلَ الْكَعْبَةَ فَاسْتَقْبِلُوهَا وَكَانَتْ وُجُوهُهُمْ إِلَى الشَّامِ فَاسْتَدَارُوا إِلَى الْكَعْبَةِ