Sunan Abi Da’ud – Hadith No : 1220

Narrated Mu’adh ibn Jabal: The Prophet (ﷺ) was engaged in the Battle of Tabuk. If he moved off before the sun had declined, he would delay the noon prayer till he would combine it with the afternoon prayer and would offer them together. If he moved off after the sun had declined, he would combine the noon and afternoon prayers, and then he proceeded; if he moved off before the evening prayer, he would delay the evening prayer; he would offer it along with the night prayer, he would delay the evening prayer; he would offer it along with the night prayer. If he moved off after the evening prayer, he would offer the night prayer earlier and offer it along with the evening prayer.Abu Dawud said: This tradition has not been narrated by anyone except by Qutaibah.

Hadith In Arabic Text :

حدثنا قتيبة بن سعيد، أخبرنا الليث، عن يزيد بن أبي حبيب، عن أبي الطفيل، عامر بن واثلة عن معاذ بن جبل، أن النبي صلى الله عليه وسلم كان في غزوة تبوك إذا ارتحل قبل أن تزيغ الشمس أخر الظهر حتى يجمعها إلى العصر فيصليهما جميعا وإذا ارتحل بعد زيغ الشمس صلى الظهر والعصر جميعا ثم سار وكان إذا ارتحل قبل المغرب أخر المغرب حتى يصليها مع العشاء وإذا ارتحل بعد المغرب عجل العشاء فصلاها مع المغرب ‏.‏ قال أبو داود ولم يرو هذا الحديث إلا قتيبة وحده ‏.‏

Chapter : Detailed Rules of Law about the Prayer during Journey – كتاب صلاة السفر