Sahih al-Bukhari 7251
صحيح البخاري#7251SahihNarrated `Abdullah bin `Umar:While the people were at Quba offering the morning prayer, suddenly a person came to them saying, "Tonight Divine Inspiration has been revealed to Allah's Messenger (ﷺ) and he has been ordered to face the Ka`ba (in prayers): therefore you people should face it." There faces were towards Sham, so they turned their faces towards the Ka`ba (at Mecca)
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 95:6