Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to perform his voluntary prayer wherever his camel turned with him.

Muslim 1610

Sahih

حدثنا محمد بن عبد الله بن نمير حدثنا أبي حدثنا عبيد الله عن نافع

عن ابن عمر

أن رسول الله ﷺ كان يصلي سبحته حيثما توجهت به ناقته

مسلم 1610صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Permissibility of praying voluntary prayers on a mount while traveling, whichever direction it faces
Numbering
Darussalam 1610
Muslim 1610