كتاب الصلاة
5  
The Book of Salah
(23)
Chapter: Situations In Which It Is Permitted Not To Face The Qiblah
(23)
باب الْحَالِ الَّتِي يَجُوزُ فِيهَا اسْتِقْبَالُ غَيْرِ الْقِبْلَةِ ‏.‏
Sunan an-Nasa'i 491
It was narrated that Ibn 'Umar said:
"The Messenger of Allah (ﷺ) used to pray while on his animal when he was coming back from Makkah to Madinah. Concerning this, the verse was revealed: So wherever you turn (yourselves or your faces) there is the Face of Allah.'" [1] [1] Al-Baqarah 2:115.
أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ، وَمُحَمَّدُ بْنُ الْمُثَنَّى، عَنْ يَحْيَى، عَنْ عَبْدِ الْمَلِكِ، قَالَ حَدَّثَنَا سَعِيدُ بْنُ جُبَيْرٍ، عَنِ ابْنِ عُمَرَ، قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُصَلِّي عَلَى دَابَّتِهِ وَهُوَ مُقْبِلٌ مِنْ مَكَّةَ إِلَى الْمَدِينَةِ وَفِيهِ أُنْزِلَتْ ‏{‏ فَأَيْنَمَا تُوَلُّوا فَثَمَّ وَجْهُ اللَّهِ ‏}‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan an-Nasa'i 491
In-book reference : Book 5, Hadith 44
English translation : Vol. 1, Book 5, Hadith 492