Leviticus 7:15-18

7:15 The meat of his thanksgiving peace offering must be eaten on the day of his offering; he must not set any of it aside until morning.

7:16 “‘If his offering is a votive or freewill sacrifice, it may be eaten on the day he presents his sacrifice, and also the leftovers from it may be eaten on the next day, 7:17 but the leftovers from the meat of the sacrifice must be burned up in the fire on the third day. 7:18 If some of the meat of his peace offering sacrifice is ever eaten on the third day it will not be accepted; it will not be accounted to the one who presented it, since it is spoiled, and the person who eats from it will bear his punishment for iniquity.

Leviticus 19:7

19:7 If, however, it is eaten on the third day, it is spoiled, it will not be accepted,

Exodus 16:19-20

16:19 Moses said to them, “No one is to keep any of it until morning.” 16:20 But they did not listen to Moses; some kept part of it until morning, and it was full of worms and began to stink, and Moses was angry with them.