صحيح ابن خزيمه
Sahih Ibn Khuzaymah
جماع أَبْوَابِ صَلَاةِ التَّطَوُّعِ فِي السَّفَرِ عَلَى الدَّوَابِّ
Chapters on Voluntary Prayers on Mounts while Traveling
(570) بَابُ الْإِيمَاءِ بِالصَّلَاةِ رَاكِبًا فِي السَّفَرِ
The chapter on gesturing for prayer while riding during travel
Hadith Number: 1269
حدثنا علي بن المنذر ، حدثنا ابن فضيل ، حدثنا عبد الملك ، عن سعيد بن جبير ، عن ابن عمر ، انه قال: إنما نزلت هذه الآية: فاينما تولوا فثم وجه الله سورة البقرة آية 115 ان تصلي اينما توجهت بك راحلتك في السفر، كان رسول الله صلى الله عليه وسلم إذا رجع من مكة" يصلي على راحلته تطوعا، يومئ براسه نحو المدينة"
Sayyiduna Ibn Umar (may Allah be pleased with them both) narrates that this verse was revealed «فَأَيْنَمَا تُوَلُّوا فَثَمَّ وَجْهُ اللَّهِ» [ سورة البقرة: 115 ] "So wherever you turn, there is the Face of Allah." That you may perform prayer while traveling, and your mount may turn you in whichever direction it wishes. (Therefore) when the Messenger of Allah (peace and blessings be upon him) returned from Makkah Mukarramah to Madinah Munawwarah, he was performing voluntary prayers on his mount, indicating with his head.
تخریج الحدیث: