Narrated Jabir bin `Abdullah:The Prophet (ﷺ) used to offer the Nawafil, while riding, facing a direction other than that of the Qibla
Hadith No. 1094
Sahih al Bukhari
Narrated Jabir bin `Abdullah:The Prophet (ﷺ) used to offer the Nawafil, while riding, facing a direction other than that of the Qibla