Leviticus 17 - 18

1 And the Lord spoke to Moses, saying, 2 “Speak to Aaron, to his sons, and to all the children of Israel, and say to them, ‘This is the thing which the Lord has commanded, saying: 3 “Whatever man of the house of Israel who kills an ox or lamb or goat in the camp, or who kills it outside the camp, 4 and does not bring it to the door of the tabernacle of meeting to offer an offering to the Lord before the tabernacle of the Lord, the guilt of bloodshed shall be imputed to that man. He has shed blood; and that man shall be cut off from among his people, 5 to the end that the children of Israel may bring their sacrifices which they offer in the open field, that they may bring them to the Lord at the door of the tabernacle of meeting, to the priest, and offer them as peace offerings to the Lord. 6 And the priest shall sprinkle the blood on the altar of the Lord at the door of the tabernacle of meeting, and burn the fat for a sweet aroma to the Lord. 7 They shall no more offer their sacrifices to demons, after whom they have played the harlot. This shall be a statute forever for them throughout their generations.”’ ...
— LEVITICUS 17 - 18