Urwa bin Mudaris reported,

I came to the Messenger of Allah ﷺ at the standing place, meaning at Jam. I said, "Messenger of Allah, I have come from the mountain of Tayy. I have exhausted my mount and worn myself out. By Allah, I did not leave a single hill without stopping at it. Is my Hajj valid?"The Messenger of Allah ﷺ replied, "Whoever catches this prayer with us and has come to Arafat before that, by night or by day, has completed his Hajj and fulfilled its rites."

Azami 5123

Sahih

عن عروة بن مضرس الطائي قال

أتيت رسول الله ﷺ بالموقف يعني بجمع. قلت: جئت يارسول الله ﷺ من جبل طي أكللت مطيتي وأتعبت نفسي والله ما تركت من حبل إلا وقفت عليه! فهل لي من حج؟ فقال رسول الله ﷺ: من أدرك معنا هذه الصلاة، وأتى عرفات قبل ذلك ليلا أو نهارا فقد تم حجه وقضى تفثه.

الأعظمي 5123صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Hajj
Chapter
Description of the Hajj of the Prophet ﷺ as narrated by Jabir and others, and the rulings mentioned therein
Section
Departing from Arafat after sunset
Numbering
Jami al-Kamil 5123 (2nd edition)
Azami 5123