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.
Narrated Jabir bin `Abdullah
The Prophet (ﷺ) used to offer the Nawafil, while riding, facing a direction other than that of the Qibla.
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.