Ali bin Abu Talib reported,

Ali رضي الله عنه used to travel after sunset until it was nearly dark, then he would stop and pray Maghrib. He would then call for his evening meal, eat it, and afterwards pray Isha, then continue his journey. He would say, "This is how the Messenger of Allah ﷺ used to do it."Uthman reported from Abdullah bin Muhammad bin Umar bin Ali that he heard Abu Dawud say that Usama bin Zayd narrated from Hafs bin Ubaydullah, meaning the son of Anas bin Malik, that Anas used to combine the two prayers when the twilight disappeared, saying, "The Prophet ﷺ used to do this." Zuhri's narration from Anas from the Prophet ﷺ is similar.

Abu Dawud 1234

Sahih

حدثنا عثمان بن أبي شيبة وابن المثنى وهذا لفظ ابن المثنى قالا حدثنا أبو أسامة قال ابن المثنى قال أخبرني

عبد الله بن محمد بن عمر بن علي بن أبي طالب عن أبيه عن جده

أن عليا رضي الله عنه كان إذا سافر سار بعد ما تغرب الشمس حتى تكاد أن تظلم ثم ينزل فيصلي المغرب ثم يدعوا بعشائه فيتعشى ثم يصلي العشاء ثم يرتحل ويقول هكذا كان رسول الله ﷺ يصنع قال عثمان عن عبد الله بن محمد بن عمر بن علي سمعت أبا داود يقول وروى أسامة بن زيد عن حفص بن عبيد الله يعني ابن أنس بن مالك أن أنسا كان يجمع بينهما حين يغيب الشفق ويقول كان النبي ﷺ يصنع ذلك ورواية الزهري عن أنس عن النبي ﷺ مثله

أبو داود 1234صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer while traveling
Chapter
When the traveler completes the prayer
Numbering
Darussalam 1234
Abu Dawud 1234