During the expedition of Tabuk, when the Prophet ﷺ set out before the sun had passed its zenith, he would delay the noon prayer until he could combine it with the afternoon prayer, performing them together. When he set out after the sun had passed its zenith, he would pray the noon and afternoon prayers together, then continue his journey.When he set out before sunset, he would delay the sunset prayer until he could pray it together with the night prayer. When he set out after sunset, he would advance the night prayer and pray it together with the sunset prayer.
حدثنا قتيبة بن سعيد أخبرنا الليث عن يزيد بن أبي حبيب عن أبي الطفيل عامر بن واثلة
أن النبي ﷺ كان في غزوة تبوك إذا ارتحل قبل أن تزيغ الشمس أخر الظهر حتى يجمعها إلى العصر فيصليهما جميعا وإذا ارتحل بعد زيغ الشمس صلى الظهر والعصر جميعا ثم سار وكان إذا ارتحل قبل المغرب أخر المغرب حتى يصليها مع العشاء وإذا ارتحل بعد المغرب عجل العشاء فصلاها مع المغرب