I came to the Messenger of Allah ﷺ at the place of halting, that is, al-Muzdalifah. I said: I have come from the mountains of Tayy. I fatigued my mount and fatigued myself. By Allah, I found no hill (on my way) but I halted there. Have I completed my hajj? The Messenger of Allah ﷺ said: Anyone who offers this prayer along with us and comes over to Arafat before it by night or day will complete his hajj and he may wash away the dirt (of his body). (Using translation from Abū Dāʾūd 1950)
أَتَيْتُ رَسُولَ اللَّهِ ﷺ وَهُوَ وَاقِفٌ بِجَمْعٍ فَقُلْتُ يَا رَسُولَ اللَّهِ جِئْتُكَ مِنْ جَبَلِ طَيِّئٍ وَقَدْ أَكْلَلْتُ مَطِيَّتِي وَأَتْعَبْتُ نَفْسِي وَاللَّهِ مَا تَرَكْتُ مِنْ جَبَلٍ إِلَّا وَقَفْتُ عَلَيْهِ فَهَلْ لِي مِنْ حَجٍّ؟ فَقَالَ رَسُولُ اللَّهِ ﷺ «مَنْ أَدْرَكَ مَعَنَا هَذِهِ الصَّلَاةَ وَقَدْ أَتَى عَرَفَاتٍ قَبْلَ ذَلِكَ لَيْلًا أَوْ نَهَارًا فَقَدْ قَضَى تَفَثَهُ وَحَجَّهُ»