It is narrated from Hasan bin Muslim bin Yanaq: He said, during the time of the Messenger of Allah ﷺ, the Day of Tarwiyah (the 8th of Dhul-Hijjah) fell on a Friday. The Messenger of Allah ﷺ stood in front of the Ka'bah and instructed the people to proceed towards Mina, and he ﷺ himself also went and performed the Zuhr prayer in Mina.
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 983
Salim narrates from his father that the Messenger of Allah (ﷺ) prayed two rak‘ahs in Mina, and afterwards Abu Bakr and ‘Umar (may Allah be pleased with them both) did the same.
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 984
Hadith Takhrijأخرجہ البخاری، الحج، باب الصلاۃ بمنی (1655) ومسلم صلاۃ المسافرین، باب قصر الصلاۃ بمنی (694)۔