Hadith 4518

(حديث مرفوع) حَدَّثَنَا عَبْدُ الْأَعْلَى ، عَنْ مَعْمَرٍ ، عَنِ الزُّهْرِيِّ ، عَنْ سَالِمٍ ، عَنِ ابْنِ عُمَرَ ، أَنّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ " يُصَلِّي عَلَى رَاحِلَتِهِ حَيْثُ تَوَجَّهَتْ بِهِ " .
It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Noble Prophet (peace and blessings be upon him) used to offer voluntary prayers on his mount (regardless of which direction it was facing).
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 4518
Hadith Grading حکم دارالسلام: إسناده صحيح، خ: 1098، م: 700