Leviticus 22:17-33
And the Lord said to Moses, “Give Aaron and his sons and all the Israelites these instructions, which apply both to native Israelites and to the foreigners living among you.
“If you present a gift as a burnt offering to the Lord, whether it is to fulfill a vow or is a voluntary offering, you will be accepted only if your offering is a male animal with no defects. It may be a bull, a ram, or a male goat. Do not present an animal with defects, because the Lord will not accept it on your behalf.
“If you present a peace offering to the Lord from the herd or the flock, whether it is to fulfill a vow or is a voluntary offering, you must offer a perfect animal. It may have no defect of any kind. You must not offer an animal that is blind, crippled, or injured, or that has a wart, a skin sore, or scabs. Such animals must never be offered on the altar as special gifts to the Lord. If a bull or lamb has a leg that is too long or too short, it may be offered as a voluntary offering, but it may not be offered to fulfill a vow. If an animal has damaged testicles or is castrated, you may not offer it to the Lord. You must never do this in your own land, and you must not accept such an animal from foreigners and then offer it as a sacrifice to your God. Such animals will not be accepted on your behalf, for they are mutilated or defective.”
And the Lord said to Moses, “When a calf or lamb or goat is born, it must be left with its mother for seven days. From the eighth day on, it will be acceptable as a special gift to the Lord. But you must not slaughter a mother animal and her offspring on the same day, whether from the herd or the flock. When you bring a thanksgiving offering to the Lord, sacrifice it properly so you will be accepted. Eat the entire sacrificial animal on the day it is presented. Do not leave any of it until the next morning. I am the Lord.
“You must faithfully keep all my commands by putting them into practice, for I am the Lord. Do not bring shame on my holy name, for I will display my holiness among the people of Israel. I am the Lord who makes you holy. It was I who rescued you from the land of Egypt, that I might be your God. I am the Lord.”