Deuteronomy 17:2-7

ASV_Strongs(i)
  2 H4672 If there be found H7130 in the midst H259 of thee, within any H8179 of thy gates H3068 which Jehovah H430 thy God H5414 giveth H376 thee, man H802 or woman, H6213 that doeth H7451 that which is evil H5869 in the sight H3068 of Jehovah H430 thy God, H5674 in transgressing H1285 his covenant,
  3 H3212 and hath gone H5647 and served H312 other H430 gods, H7812 and worshipped H8121 them, or the sun, H3394 or the moon, H6635 or any of the host H8064 of heaven, H6680 which I have not commanded;
  4 H5046 and it be told H8085 thee, and thou hast heard H1875 of it, then shalt thou inquire H3190 diligently; H571 and, behold, if it be true, H1697 and the thing H3559 certain, H8441 that such abomination H6213 is wrought H3478 in Israel,
  5 H3318 then shalt thou bring forth H376 that man H802 or that woman, H6213 who hath done H7451 this evil H1697 thing, H8179 unto thy gates, H376 even the man H802 or the woman; H5619 and thou shalt stone H4191 them to death H5619 with stones.
  6 H6310 At the mouth H8147 of two H5707 witnesses, H7969 or three H5707 witnesses, H4191 shall he that is to die H4191 be put to death; H6310 at the mouth H259 of one H5707 witness H4191 he shall not be put to death.
  7 H3027 The hand H5707 of the witnesses H7223 shall be first H4191 upon him to put him to death, H314 and afterward H3027 the hand H5971 of all the people. H1197 So thou shalt put H1197 away H7451 the evil H7130 from the midst of thee.