It is narrated from Muhammad bin Qais bin Makhramah that he said: The Messenger of Allah ﷺ delivered a sermon and said: "The people of ignorance used to return from Arafat before the sun had set, and from Muzdalifah after the sun had risen, to the extent that the sun would appear as if turbans were on the faces of the people. But we will not return from Arafat until the sun has set, and from Muzdalifah we will depart before the sun rises. Our way is contrary to that of the polytheists and idol worshippers."
Hadith Referenceمسند الإمام الشافعي / كتاب الحج / 996
Hadith Takhrijاسناده ضعيف لعنعنة ابن جريج اخرجه البيهقي 125/5 - وفى المعرفة السنن والآثار له (3045) وابوداود في المراسيل (151) والطبر م في الكبير: (20/ 28)۔