Deuteronomy 17:2-5

CKJV_Strongs(i)
  2 H4672 If there be found H7130 among H259 you, inside any H8179 of your gates H3068 which the Lord H430 your God H5414 gives H376 you, man H802 or woman, H6213 that has worked H7451 wickedness H5869 in the sight H3068 of the Lord H430 your God, H5674 in transgressing H1285 his covenant,
  3 H3212 And has gone H5647 and served H312 other H430 gods, H7812 and worshiped H8121 them, either the sun, H3394 or moon, H6635 or any of the host H8064 of heaven, H6680 which I have not commanded;
  4 H5046 And it be told H8085 you, and you have heard H1875 of it, and inquired H3190 diligently, H571 and, behold, it be true, H1697 and the thing H3559 certain, H8441 that such abomination H6213 is worked H3478 in Israel:
  5 H3318 Then shall you bring forth H376 that man H802 or that woman, H6213 which have committed H7451 that wicked H1697 thing, H8179 unto your gates, H376 even that man H802 or that woman, H5619 and shall stone H68 them with stones, H4191 until they die.