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.
حدثنا عثمان بن أبي شيبة وابن المثنى وهذا لفظ ابن المثنى قالا حدثنا أبو أسامة قال ابن المثنى قال أخبرني
أن عليا رضي الله عنه كان إذا سافر سار بعد ما تغرب الشمس حتى تكاد أن تظلم ثم ينزل فيصلي المغرب ثم يدعوا بعشائه فيتعشى ثم يصلي العشاء ثم يرتحل ويقول هكذا كان رسول الله ﷺ يصنع قال عثمان عن عبد الله بن محمد بن عمر بن علي سمعت أبا داود يقول وروى أسامة بن زيد عن حفص بن عبيد الله يعني ابن أنس بن مالك أن أنسا كان يجمع بينهما حين يغيب الشفق ويقول كان النبي ﷺ يصنع ذلك ورواية الزهري عن أنس عن النبي ﷺ مثله
No references are available.
[Its isnad is sahih] Abdullah bin Ahmad transmitted it in Zawaid al-Musnad: 1/136, no. 1143, from the hadith of Abu Usama, through the same chain.