Deuteronomy 17:2-7 - The Judicial Procedure For Idolatry

2 If there be found among you, within any of your gates which the LORD your God gives you, man or woman, that has done wickedness in the sight of the LORD your God, in transgressing his covenant, 3 And has gone and served other gods, and worshiped them, either the sun, or moon, or any of the host of heaven, which I have not commanded; 4 And it be told you, and you have heard of it, and inquired diligently, and, behold, it is true, and the thing certain, that such abomination has been done in Israel: 5 Then shall you bring forth that man or that woman, who has committed that wicked thing, unto your gates, even that man or that woman, and shall stone them with stones, till they die. 6 At the mouth of two witnesses, or three witnesses, shall he that is worthy of death be put to death; but at the mouth of one witness he shall not be put to death. 7 The hands of the witnesses shall be first upon him to put him to death, and afterward the hands of all the people. So you shall put the evil away from among you.