The Arabs in the pre-Islamic period did not return from al-Muzdalifah till they saw sunlight at the mountain Thabir. The Prophet (ﷺ) opposed them and returned before the sunrise.
Sunan Abi Dawud Book 11, Hadith 218