Sahih al-Bukhari 403

صحيح البخاري#403Sahih

Narrated `Abdullah bin `Umar:While the people were offering the Fajr prayer at Quba' (near Medina), someone came to them and said: "It has been revealed to Allah's Messenger (ﷺ) tonight, and he has been ordered to pray facing the Ka`ba." So turn your faces to the Ka`ba. Those people were facing Sham (Jerusalem) so they turned their faces towards 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: 8:55