Sahih Muslim Book 6 – Hadith 41-51
Chapter 4: It is permissible to offer voluntary prayers atop one’s mount when travelling, no matter what direction it is facing.
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. (Sahih Muslim Book 6 – Hadith 41)
Ibn 'Umar reported that the Apostle (ﷺ) used to pray on (the back of) his camel in whatever direction it took him. (Sahih Muslim Book 6 – Hadith 42)
Ibn 'Umar reported that the Messenger of Allah (ﷺ) used to say prayer on his camel while coming from Mecca to Medina, in whatever direction his face had turned; and it was (in this context) that this verse was revealed:
"And to Allâh belong the east and the west, so wherever you turn (yourselves or your faces) there is the Face of Allâh (and He is High above, over His Throne). Surely! Allâh is All-Sufficient for His creatures’ needs, All-Knowing." (Quran 2:115). (Sahih Muslim Book 6 – Hadith 43)
This hadith has been narrated by another chain of transmitters and in the one narrated by Ibn Mubarak and Ibn Abu Za'ida (these words are narrated). Ibn 'Umar then recited:
"Whether you turn thither is Allah's face," and it was revealed in this context. (Sahih Muslim Book 6 – Hadith 44)
Ibn 'Umar reported:
I saw the Messenger of Allah (ﷺ) praying (Nafl prayer) on a donkey's back while his face was turned towards Khaibar. (Sahih Muslim Book 6 – Hadith 45)
Sa'id b. Yasar reported:
I was travelling along with Ibn 'Umar on the way to Mecca. Sa'id said: When I apprehended dawn, I dismounted (the ride) and observed Witr prayer and then again joined him. Ibn 'Umar said to me: Where were you? I said: I apprehended the appearance of dawn, so I dismounted and observed Witr prayer. Upon this 'Abdullah said: Is there not a model pattern for you in the Messenger of Allah (ﷺ)? I said: Yes, by Allah, and (then) he said: The Messenger of Allah (ﷺ) used to observe Witr prayer on the camel's back. (Sahih Muslim Book 6 – Hadith 46)
'Abdullah b. Dinar reported on the authority of Ibn 'Umar that the Messenger of Allah (ﷺ) used to observe prayer on his ride (no matter) in which direction it had its face turned. 'Abdullah b. Dinar said that Ibn 'Umar used to do like that. (Sahih Muslim Book 6 – Hadith 47)
'Abdullah b. 'Umar reported that the Messenger of Allah (ﷺ) used to observe Witr prayer on his ride. (Sahih Muslim Book 6 – Hadith 48)
Salim b. 'Abdullah reported on the authority of his father that the Messenger of Allah (Peace be Upon Him) used to observe Nafl (supererogatory) prayer on his ride no matter in what direction it turned its face, and he observed Witr too on it, but did not observe obligatory prayer on it. (Sahih Muslim Book 6 – Hadith 49)
'Abdullah b. 'Amir b. Rabi'a has reported on the authority of his father that he had seen the Messenger of Allah (ﷺ) observing Nafl player at night on a journey on the back of his ride in whichever direction it turned its face. (Sahih Muslim Book 6 – Hadith 50)
Anas b. Sirin reported:
We met Anas b. Malik as he came to Syria at a place known as 'Ain-al-Tamar and saw him observing prayer on the back of his donkey with his face turned in that direction. (Hammam one of the narrators) pointed towards the left of Qibla, so I said to him: I find you observing prayer towards the side other than that of Qibla. Upon this he said: Had I not seen the Messenger of Allah (ﷺ) doing like this, I would not have done so at all. (Sahih Muslim Book 6 – Hadith 51)
Sahih Muslim Book 6 – Hadith 41-51