Hadith 1464

وَعَنْهُ أَيْضًا قَالَ: كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِذَا أَرَادَ أَنْ يُصَلِّيَ عَلَى رَاحِلَتِهِ تَطَوُّعًا اسْتَقْبَلَ الْقِبْلَةَ فَكَبَّرَ لِلصَّلَاةِ ثُمَّ خَلَّى عَنْ رَاحِلَتِهِ فَصَلَّى حَيْثُمَا تَوَجَّهَتْ بِهِ
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) intended to offer a voluntary prayer on his mount, he would first face the Qiblah and say Allahu Akbar for the prayer, then he would let his mount go wherever it wished, and he (peace and blessings be upon him) would continue his prayer, regardless of which direction the mount turned.
Hadith Reference الفتح الربانی / أبواب المساجد / 1464
Hadith Grading محدثین: صحیح
Hadith Takhrij «حديث صحيح، أخرجه ابوداود: 1225، وانظر الحديث السابق: 434، ھو نفس ھذا الحديث ، (انظر مسند أحمد ترقيم الرسالة: 13109)۔ ترقیم بيت الأفكار الدولية: 13140»