Leviticus 22:29 in the King James Version
And when ye will offer a sacrifice of thanksgiving unto the LORD, offer it at your own will.
Context
28 Whether it is a cow or ewe, you shall not kill it and its young both in one day.
29 “When you sacrifice a sacrifice of thanksgiving to the LORD, you shall sacrifice it so that you may be accepted.
30 It shall be eaten on the same day; you shall leave none of it until the morning. I am the LORD.