It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that when the Messenger of Allah (peace and blessings be upon him) was in a hurry during a journey, he would combine Maghrib and Isha prayers and perform them together.
Hadith Referenceسنن دارمي / من كتاب الصللاة / 1556