Abdullah bin Umar reported,

The Messenger of Allah ﷺ would only pray two rak'ahs while traveling, except that he would perform tahajjud during the night.Jabir said, I asked Salim, "Did they used to perform witr?"He replied, "Yes."

Ahmad 5590

Sahih

حدثنا محمد بن جعفر حدثنا شعبة عن جابر سمعت سالم بن عبد الله يحدث

عن ابن عمر قال

كان رسول الله ﷺ لا يصلي في السفر إلا ركعتين غير أنه كان يتهجد من الليل قال جابر فقلت لسالم كانا يوتران قال نعم

أحمد 5590صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 5590
Ahmad 5590