Salim bin Abdullah narrates from his father (Sayyiduna Abdullah bin Umar, may Allah be pleased with him) that the Prophet Muhammad (peace and blessings be upon him) led two rak‘ahs (units of prayer) in Mina, like the prayer of a traveler. Sayyiduna Abu Bakr (may Allah be pleased with him), Sayyiduna Umar (may Allah be pleased with him), and Sayyiduna Uthman (may Allah be pleased with him) also led two rak‘ahs during the early part of his caliphate, but later he started leading four rak‘ahs there.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 2758
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (1712).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط مسلم