Sahih Muslim , Book 6, Hadith 42 (In-Book) ⓘ
Ibn 'Umar reported that the Apostle used to pray on (the back of) his camel in whatever direction it took him.
وَحَدَّثَنَاهُ أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو خَالِدٍ الأَحْمَرُ، عَنْ عُبَيْدِ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ يُصَلِّي عَلَى رَاحِلَتِهِ حَيْثُ تَوَجَّهَتْ بِهِ .
also referenced under: Hadith 700 (Reference) & Book 4, Hadith 1498 (USC-MSA)