Hafs bin Asim bin Umar bin Khattab reported,

I traveled with Ibn Umar on the road to Makkah. He led us in Dhuhr as two units of prayer, then he turned away and we went with him until he reached his mount. He sat down and we sat with him. Then he happened to glance toward the place where he had prayed and saw some people standing in prayer.He asked, "What are those people doing?"I said, "They are praying voluntary prayers."He replied, "Had I been one to pray voluntary prayers, I would have completed my own prayer. Nephew, I accompanied the Messenger of Allah ﷺ on his travels, and he never prayed more than two units until Allah took him. I accompanied Abu Bakr, and he never prayed more than two units until Allah took him. I accompanied Umar, and he never prayed more than two units until Allah took him. Then I accompanied Uthman, and he never prayed more than two units until Allah took him. And Allah has said, 'You have indeed in the Messenger of Allah an excellent example' [Ahzab 33:21]."

Muslim 1579

Sahih

و حدثنا عبد الله بن مسلمة بن قعنب

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

صحبت ابن عمر في طريق مكة قال فصلى لنا الظهر ركعتين ثم أقبل وأقبلنا معه حتى جاء رحله وجلس وجلسنا معه فحانت منه التفاتة نحو حيث صلى فرأى ناسا قياما فقال ما يصنع هؤلاء قلت يسبحون قال لو كنت مسبحا لأتممت صلاتي يا ابن أخي إني صحبت رسول الله ﷺ في السفر فلم يزد على ركعتين حتى قبضه الله وصحبت أبا بكر فلم يزد على ركعتين حتى قبضه الله وصحبت عمر فلم يزد على ركعتين حتى قبضه الله ثم صحبت عثمان فلم يزد على ركعتين حتى قبضه الله وقد قال الله {لقد كان لكم في رسول الله أسوة حسنة}

مسلم 1579صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Travelers' prayer and its shortening
Numbering
Darussalam 1579
Muslim 1579