The Prophet (ﷺ) used to offer the Maghrib and `Isha' prayers together whenever he was in a hurry on a journey.
Sahih al-Bukhari Book 18, Hadith 26