Ibn 'Umar reported that the Messenger of Allah (ﷺ) used to say Nafl prayer on (the back…

Sahih Muslim Book 6 Hadith 41

Sahih Muslim #700 a

The Book of Prayer - Travellers 6:41

Ibn 'Umar reported that the Messenger of Allah (ﷺ) used to say Nafl prayer on (the back of) his camel in whatever direction it took him.

Chapter: It is permissible to offer voluntary prayers atop one’s mount when travelling, no matter what direction it is facing

Grade: Sahih