Abdullah bin Umar reported,

It was reported from the Messenger of Allah ﷺ that he prayed the traveler's prayer at Mina and elsewhere as two rakats, and Abu Bakr and Umar did the same, as did Uthman during the early part of his caliphate, after which he completed it as four.

Muslim 1590

Sahih

و حدثني حرملة بن يحيى حدثنا ابن وهب أخبرني عمرو وهو ابن الحارث عن ابن شهاب

عن سالم بن عبد الله عن أبيه

عن رسول الله ﷺ أنه صلى صلاة المسافر بمنى وغيره ركعتين وأبو بكر وعمر وعثمان ركعتين صدرا من خلافته ثم أتمها أربعا

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