Deuteronomy 16:6-7
16:6 but you must sacrifice it in the evening in the place where he chooses to locate his name, at sunset, the time of day you came out of Egypt.
16:7 You must cook and eat it in the place the Lord your God chooses; you may return the next morning to your tents.