صحيح البخاري Sahih Bukhari كتاب تقصير الصلاة The Book of Abridged Or Shortened Prayers (At-Taqsir)
بَابُ صَلاَةِ التَّطَوُّعِ عَلَى الدَّوَابِّ وَحَيْثُمَا تَوَجَّهَتْ بِهِ:

(7) Chapter. To offer the optional non-obligatory Salat (Nawafil) on the back of animals (Rahila) in whatever direction the animal goes.

3 hadith
Hadith 1093
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ ، قَالَ : حَدَّثَنَا عَبْدُ الْأَعْلَى ، قَالَ : حَدَّثَنَا مَعْمَرٌ ، عَنْ الزُّهْرِيِّ ، عَنْ عَبْدِ اللَّهِ بْنِ عَامِرِ بْنِ رَبِيعَةَ ، عَنْ أَبِيهِ ، قَالَ : " رَأَيْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّي عَلَى رَاحِلَتِهِ حَيْثُ تَوَجَّهَتْ بِهِ " .
Narrated `Abdullah bin 'Amir from his father who said: I saw the Prophet (p.b.u.h) offering the prayer on his mount (Rahila) whatever direction it took.
Hadith Reference Sahih Bukhari / The Book of Abridged Or Shortened Prayers (At-Taqsir) / Hadith: 1093
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1094
حَدَّثَنَا أَبُو نُعَيْمٍ ، قَالَ : حَدَّثَنَا شَيْبَانُ ، عَنْ يَحْيَى ، عَنْ مُحَمَّدِ بْنِ عَبْدِ الرَّحْمَنِ ، أَنَّ جَابِرَ بْنَ عَبْدِ اللَّهِ أَخْبَرَهُ ، " أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يُصَلِّي التَّطَوُّعَ وَهُوَ رَاكِبٌ فِي غَيْرِ الْقِبْلَةِ " .
Narrated Jabir bin `Abdullah: The Prophet used to offer the Nawafil, while riding, facing a direction other than that of the Qibla.
Hadith Reference Sahih Bukhari / The Book of Abridged Or Shortened Prayers (At-Taqsir) / Hadith: 1094
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1095
حَدَّثَنَا عَبْدُ الْأَعْلَى بْنُ حَمَّادٍ ، قَالَ : حَدَّثَنَا وُهَيْبٌ ، قَالَ : حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ ، عَنْ نَافِعٍ ، قَالَ : " وَكَانَ ابْنُ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا يُصَلِّي عَلَى رَاحِلَتِهِ وَيُوتِرُ عَلَيْهَا ، وَيُخْبِرُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَفْعَلُهُ " .
Narrated Nafi`: Ibn `Umar (while on a journey) used to offer the prayer and the witr on his mount (Rahila). He said that the Prophet used to do so.
Hadith Reference Sahih Bukhari / The Book of Abridged Or Shortened Prayers (At-Taqsir) / Hadith: 1095
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة