Abdullah bin Umar reported,

I accompanied the Messenger of Allah ﷺ, and he would not pray more than two rakahs while traveling. Abu Bakr, Umar, and Uthman did the same. رضي الله عنهم

Bukhari 1102

Sahih

حدثنا مسدد قال حدثنا يحيى عن عيسى بن حفص بن عاصم قال حدثني أبي أنه سمع

ابن عمر يقول

صحبت رسول الله ﷺ فكان لا يزيد في السفر على ركعتين وأبا بكر وعمر وعثمان كذلك رضي الله عنهم

البخاري 1102صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Shortening
Chapter
Whoever did not offer voluntary prayers while traveling before or after the obligatory prayer
Numbering
Darussalam 1102
Bukhari 1102