Abdullah bin Masud reported,

I prayed two rakats with the Messenger of Allah ﷺ while traveling, two rakats with Abu Bakr, and two rakats with Umar.

Azami 2863

Sahih

عن عبد الله بن مسعود يقول

صليت مع رسول الله ﷺ في السفر ركعتين، ومع أبي بكر ركعتين، ومع عمر ركعتين.

الأعظمي 2863صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Witr prayer
Section
Permissibility of shortening prayer during travel even if the route is safe
Numbering
Jami al-Kamil 2863 (2nd edition)
Azami 2863