(23) باب الْحَالِ الَّتِي يَجُوزُ فِيهَا اسْتِقْبَالُ غَيْرِ الْقِبْلَةِ .
It was narrated that Ibn 'Umar said:
"The Messenger of Allah (ﷺ) used to pray on his mount while on a journey, no matter what direction it was facing."Malik said: "Abdullah bin Dinar said: 'And Ibn 'Umar used to do likewise.'"
Reference: Sunan an-Nasa'i 492
In-book reference: Book 5, Hadith 45
English translation: Vol. 1, Book 5, Hadith 493