I rode along with the Messenger of Allah ﷺ from Arafat. When he reached the mountain pass where the commanders usually stop, he dismounted, relieved himself, and then performed ablution.I asked, "Is it time for prayer?"He replied, "The prayer is ahead of you."When he reached Muzdalifah, he called the adhan and the iqamah and prayed Maghrib. Then no one untied their mounts until he stood and prayed Isha.
حدثنا محمد بن بشار حدثنا عبد الرحمن بن مهدي حدثنا سفيان عن إبراهيم بن عقبة عن كريب
أفضت مع رسول الله ﷺ فلما بلغ الشعب الذي ينزل عنده الأمراء نزل فبال فتوضأ قلت الصلاة قال الصلاة أمامك فلما انتهى إلى جمع أذن وأقام ثم صلى المغرب ثم لم يحل أحد من الناس حتى قام فصلى العشاء
Reported by Muslim, Hajj, Chapter: Departing from Arafat to Muzdalifa and the Recommendation of Praying Maghrib and Isha Together at Muzdalifa on that Night, h: 278/1280, 279, from the hadith of Ibrahim bin Uqba, with a slight difference in wording.