Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to pray on his mount during travel, facing whatever direction it turned.Malik said that Abdullah bin Dinar reported that Ibn Umar used to do the same.

Nasai 744

Sahih

أخبرنا قتيبة عن مالك بن أنس عن عبد الله بن دينار

عن ابن عمر قال

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

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