Deuteronomy 16:21-17:7 Revised Standard Version (RSV)
Forbidden Forms of Worship
21 “You shall not plant any tree as an Ashe′rah beside the altar of the Lord your God which you shall make. 22 And you shall not set up a pillar, which the Lord your God hates.
17 “You shall not sacrifice to the Lord your God an ox or a sheep in which is a blemish, any defect whatever; for that is an abomination to the Lord your God.
2 “If there is found among you, within any of your towns which the Lord your God gives you, a man or woman who does what is evil in the sight of the Lord your God, in transgressing his covenant, 3 and has gone and served other gods and worshiped them, or the sun or the moon or any of the host of heaven, which I have forbidden, 4 and it is told you and you hear of it; then you shall inquire diligently, and if it is true and certain that such an abominable thing has been done in Israel, 5 then you shall bring forth to your gates that man or woman who has done this evil thing, and you shall stone that man or woman to death with stones. 6 On the evidence of two witnesses or of three witnesses he that is to die shall be put to death; a person shall not be put to death on the evidence of one witness. 7 The hand of the witnesses shall be first against him to put him to death, and afterward the hand of all the people. So you shall purge the evil from the midst of you.