Usama bin Zayd reported,

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.

Ibn Majah 3019

Sahih

حدثنا محمد بن بشار حدثنا عبد الرحمن بن مهدي حدثنا سفيان عن إبراهيم بن عقبة عن كريب

عن أسامة بن زيد قال

أفضت مع رسول الله ﷺ فلما بلغ الشعب الذي ينزل عنده الأمراء نزل فبال فتوضأ قلت الصلاة قال الصلاة أمامك فلما انتهى إلى جمع أذن وأقام ثم صلى المغرب ثم لم يحل أحد من الناس حتى قام فصلى العشاء

ابن ماجه 3019صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Rites of pilgrimage
Chapter
Stopping between Arafat and Muzdalifah for one who has a need
Numbering
Darussalam 3019
Ibn Majah 3019