Which condition is necessary for ghalas Fajr?

Book of Hajj: Prayers, Standing at Muzdalifah, and Departure to Mina