Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to pray on his mount as he was returning from Mecca to Medina, and concerning this was revealed "So wherever you turn, there is the face of Allah" [Baqarah 2:115].

Nasai 492

Sahih

أخبرنا عمرو بن علي ومحمد بن المثنى عن يحيى عن عبد الملك قال حدثنا سعيد بن جبير

عن ابن عمر قال

كان رسول الله ﷺ يصلي على دابته وهو مقبل من مكة إلى المدينة وفيه أنزلت {فأينما تولوا فثم وجه الله}

النسائي 492صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prayer
Chapter
Situation in which facing other than the qibla is permissible
Numbering
Darussalam 492
Nasai 492