Deuteronomy 15:20-23

15:20 You and your household must eat them annually before the Lord your God in the place he chooses. 15:21 If they have any kind of blemish – lameness, blindness, or anything else – you may not offer them as a sacrifice to the Lord your God. 15:22 You may eat it in your villages, whether you are ritually impure or clean, just as you would eat a gazelle or an ibex. 15:23 However, you must not eat its blood; you must pour it out on the ground like water.