Deuteronomy 17:2-7

Brenton(i) 2 And if there should be found in any one of thy cities, which the Lord thy God gives thee, a man or a woman who shall do that which is evil before the Lord thy God, so as to transgress his covenant, 3 and they should go and serve other gods, and worship them, the sun, or the moon, or any of the host of heaven, which he commanded thee not to do, 4 and it be told thee, and thou shalt have enquired diligently, and, behold, the thing really took place, this abomination has been done in Israel; 5 then shalt thou bring out that man, or that woman, and ye shall stone them with stones, and they shall die. 6 He shall die on the testimony of two or three witnesses; a man who is put to death shall not be put to death for one witness. 7 And the hand of the witnesses shall be upon him among the first to put him to death, and the hand of the people at the last; so shalt thou remove the evil one from among yourselves.