The Lord spoke to Moses:
References for Leviticus 17:1
"Speak to Aaron, his sons, and all the Israelites and tell them: This is what the Lord has commanded:
Anyone from the house of Israel who slaughters an ox, sheep, or goat in the camp, or slaughters [it] outside the camp,
instead of bringing it to the entrance to the tent of meeting to present [it] as an offering to the Lord before His tabernacle-that person will be charged with murder. He has shed blood and must be cut off from his people.
References for Leviticus 17:4
This is so the Israelites will bring to the Lord the sacrifices they have been offering in the open country. They are to bring them to the priest at the entrance to the tent of meeting and offer them as fellowship sacrifices to the Lord.
References for Leviticus 17:5
The priest will then sprinkle the blood on the Lord's altar at the entrance to the tent of meeting and burn the fat as a pleasing aroma to the Lord.
They must no longer offer their sacrifices to the goat-demons that they have prostituted themselves with. This will be a permanent statute for them throughout their generations.
References for Leviticus 17:7
"Say to them: Anyone from the house of Israel or from the foreigners who live among them who offers a burnt offering or a sacrifice
but does not bring it to the entrance to the tent of meeting to sacrifice it to the Lord, that person must be cut off from his people.