Abdullah bin Umar reported,

He would pray in whatever direction his mount was facing, and I saw the Messenger of Allah ﷺ doing the same, taking as his basis the verse "And wherever you may be, turn your faces toward it" [Baqarah 2:144].

Ahmad 5001

Sahih

حدثنا عبد الله بن إدريس عن عبد الملك يعني ابن أبي سليمان عن سعيد بن جبير

عن ابن عمر

يصلي حيثما توجهت به راحلته وقد رأيت رسول الله ﷺ يفعل ذلك ويتأول عليه {وحيث ما كنتم فولوا وجوهكم}

أحمد 5001صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 5001
Ahmad 5001