أَخْبَرَنَا مُحَمَّدُ بْنُ قُدَامَةَ، قَالَ حَدَّثَنِي جَرِيرٌ، عَنْ مُطَرِّفٍ، عَنِ الشَّعْبِيِّ، عَنْ عُرْوَةَ بْنِ مُضَرِّسٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مَنْ أَدْرَكَ جَمْعًا مَعَ الإِمَامِ وَالنَّاسِ حَتَّى يُفِيضَ مِنْهَا فَقَدْ أَدْرَكَ الْحَجَّ وَمَنْ لَمْ يُدْرِكْ مَعَ النَّاسِ وَالإِمَامِ فَلَمْ يُدْرِكْ ‏"‏ ‏.‏

It was narrated that Urwah bin Mudarris said: The Messenger of allah said: "Whoever catches up (with Fajir prayer) in Jam (Al-Muzdalifah) with the Imam and the people (and stays there) until they move on, the he has caught up with Hajj. Whoever does not catuch up with the people and the Imam, then has not caught it (Hajj).'" Translation Not Available

Book Ref: Sunan An Nisai Book 24 Hadith 3040
Web Ref:  Sunan An Nisai Vol 3 Book 24 Hadith 3043