It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) stood at Jam' (Muzdalifah), then when everything had become light, before sunrise, he departed from there.
It has a corroborating narration (shahid) in Sahih al-Bukhari, in the hadith narrated by Amr bin Maymun (may Allah have mercy on him) from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him): that the polytheists would not depart until the sun rose over Mount Thabir, and the Messenger of Allah (peace and blessings be upon him) opposed them by departing before sunrise.