To offer Nawafil on the back of animals Sahih al-Bukhari 1093

Arabic hadith text
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، قَالَ حَدَّثَنَا عَبْدُ الأَعْلَى، قَالَ حَدَّثَنَا مَعْمَرٌ، عَنِ الزُّهْرِيِّ، عَنْ عَبْدِ اللَّهِ بْنِ عَامِرٍ، عَنْ أَبِيهِ، قَالَ رَأَيْتُ النَّبِيَّ صلى الله عليه وسلميُصَلِّي عَلَى رَاحِلَتِهِ حَيْثُ تَوَجَّهَتْ بِهِ‏.‏
Translation
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.