The Messenger of Allah ﷺ prayed two rakahs at Mina, as did Abu Bakr and Umar, and Uthman during the early part of his caliphate.
حدثنا إبراهيم بن المنذر حدثنا ابن وهب أخبرني يونس عن ابن شهاب قال أخبرني
صلى رسول الله ﷺ بمنى ركعتين وأبو بكر وعمر وعثمان صدرا من خلافته