The Messenger of Allah ﷺ stopped at the mountain pass where the leaders usually halt. He relieved himself, then performed a light ablution.I said, "Messenger of Allah ﷺ, the prayer."He replied, "The prayer is ahead of you."When we reached Muzdalifa, he prayed before the last of the people had even unloaded their mounts.
أخبرنا محمود بن غيلان قال حدثنا وكيع قال حدثنا سفيان عن إبراهيم بن عقبة عن كريب
أن رسول الله ﷺ نزل الشعب الذي ينزله الأمراء فبال ثم توضأ وضوءا خفيفا فقلت يا رسول الله ﷺ الصلاة قال الصلاة أمامك فلما أتينا المزدلفة لم يحل آخر الناس حتى صلى
[Sahih] See the previous hadith. It is found in Kubra, hadith no. 4020.