Deuteronomy 17:2-7

Thomson(i) 2 If there be found in any of thy cities which the Lord thy God giveth thee, a man, or a woman, who shall do evil in the sight of the Lord thy God, to transgress his covenant, 3 and they have gone, and served other gods, and worshipped them, either the sun, or the moon, or any of the whole host of heaven, which he hath not commanded thee, 4 and information be given thee, and thou hast made strict inquiry, and behold the thing hath been actually done, and such an abomination hath been committed in Israel, 5 thou shalt bring out that man, or that woman, and you shall stone them with stones, till they die. 6 On the testimony of two or three witnesses the guilty person shall be put to death; but shall not be put to death on the testimony of one witness. 7 And the hand of the witness shall be upon him, among the first, to put him to death, and afterwards the hands of the people. So thou shalt remove the wickedness from among you.