Narrated Ibn `Umar:I accompanied Allah's Messenger (ﷺ) and he never offered more than two rak`at during the journey. Abu Bakr, `Umar and `Uthman used to do the same
Hadith No. 1102
Sahih al Bukhari