Anas bin Malik reported,

The Prophet ﷺ used to combine the Maghrib and Isha prayers while traveling. Ali bin al-Mubarak and Harb followed him in this narration, from Yahya, from Hafs, from Anas, that the Prophet ﷺ combined them.

Bukhari 1108

Sahih

وعن حسين عن يحيى بن أبي كثير عن حفص بن عبيد الله بن أنس

عن أنس بن مالك رضي الله عنه قال

كان النبي ﷺ يجمع بين صلاة المغرب والعشاء في السفر وتابعه علي بن المبارك وحرب عن يحيى عن حفص عن أنس جمع النبي ﷺ

البخاري 1108صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Shortening
Chapter
Combining Maghrib and Isha prayers while traveling
Numbering
Darussalam 1108
Bukhari 1108