Anas bin Malik reported,

Whenever the Messenger of Allah ﷺ traveled and wished to perform a voluntary prayer, he would turn his she-camel toward the qiblah and say the takbir, then pray in whatever direction his mount was facing.

Azami 2900

Hasan

عن أنس بن مالك

أن رسول الله ﷺ كان إذا سافر، فأراد أن يتطوع استقبل بناقته القبلة فكبر، ثم صلى حيث وجهه ركابه.

الأعظمي 2900حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Witr prayer
Section
Obligatory prayer is not performed on a mount, unlike voluntary prayer
Numbering
Jami al-Kamil 2900 (2nd edition)
Azami 2900