Hadith 5413

(حديث مرفوع) حَدَّثَنَا عَفَّانُ ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ مُسْلِمٍ ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ دِينَارٍ ، أَنَّ ابْنَ عُمَرَ كَانَ " يُصَلِّي عَلَى رَاحِلَتِهِ فِي السَّفَرِ ، أَيْنَمَا تَوَجَّهَتْ بِهِ ، قَالَ : وَذَكَرَ ابْنُ عُمَرَ : أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَفْعَلُ ذَلِكَ فِي السَّفَرِ " .
Abdullah bin Dinar (may Allah have mercy on him) says that Sayyiduna Ibn Umar (may Allah be pleased with them both) used to offer voluntary prayers on his mount, regardless of which direction it was facing, and he used to mention that the Prophet (peace and blessings be upon him) also used to do so during travel.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 5413
Hadith Grading حکم دارالسلام: إسناده صحيح ، خ :1096.