Leviticus 22:17-33 NLT

17 And the LORD said to Moses,
18 “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,
19 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.

References for Leviticus 22:19

      20 Do not present an animal with defects, because the LORD will not accept it on your behalf.
      21 “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.
      22 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 .
      23 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.

      References for Leviticus 22:23

          24 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,
          25 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.”
          26 And the LORD said to Moses,
          27 “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 .
          28 But you must not slaughter a mother animal and her offspring on the same day, whether from the herd or the flock.
          29 When you bring a thanksgiving offering to the LORD, sacrifice it properly so you will be accepted.
          30 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 .
          31 “You must faithfully keep all my commands by putting them into practice, for I am the LORD .
          32 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.
          33 It was I who rescued you from the land of Egypt, that I might be your God. I am the LORD .”