Sunan an-Nasa'i 493
سنن النسائي#493SahihIt was narrated that Ibn 'Umar said:"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
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Abu GhuddahSahih
Al-AlbaniSahih
Zubair Ali ZaiSahih - Agreed Upon
In-book reference: 5:46