NASAI 493: from Ibn ʿUmar —

"While the people were in Quba', praying the Subh prayer, someone came to them and said that revelation had come to the Messenger of Allah ﷺ the night before, and he has been commanded to face the Ka'bah. So they turned around, and they has been facing toward Ash-Sham, but now they turned to face toward the Ka'bah."

النسائي ٤٩٣: عن ابن عمر —

بَيْنَمَا النَّاسُ بِقُبَاءٍ فِي صَلاَةِ الصُّبْحِ جَاءَهُمْ آتٍ فَقَالَ إِنَّ رَسُولَ اللَّهِ ﷺ قَدْ أُنْزِلَ عَلَيْهِ اللَّيْلَةَ وَقَدْ أُمِرَ أَنْ يَسْتَقْبِلَ الْكَعْبَةَ فَاسْتَقْبِلُوهَا وَكَانَتْ وُجُوهُهُمْ إِلَى الشَّامِ فَاسْتَدَارُوا إِلَى الْكَعْبَةِ


Sound (ʿAli Zaʾī)
Nasāʾī > Ṣalāh (Ritual Prayer) > § Finding Out That One Was Wrong After Doing His Utmost (To...
hadithunlocked.com