Devarim (Deuteronomy): Reeh > Ch 13
Everything I command you that you shall be careful to do it. You shall neither add to it, nor subtract from it.
If a prophet leads you to worship idols, he should be put to death.
If there will arise among you a prophet, or a dreamer of a dream, and he gives you a sign or a wonder, and the sign or the wonder of which he spoke to you happens, [and he] says, "Let us go after other gods which you have not known, and let us worship them," you shall not heed the words of that prophet, or that dreamer of a dream; for the Lord, your G-d, is testing you, to know whether you really love the Lord, your G-d, with all your heart and with all your soul. You shall follow the Lord, your G-d, fear Him, keep His commandments, heed His voice, worship Him, and cleave to Him. And that prophet, or that dreamer of a dream shall be put to death; because he spoke falsehood about the Lord, your G-d Who brought you out of the land of Egypt, and Who redeemed you from the house of bondage, to lead you astray from the way in which the Lord, your G-d, commanded you to go; so shall you clear away the evil from your midst.
If your brother, sister, wife, child or friend leads you to worship idols, this person should be stoned to death.
If your brother, the son of your mother, tempts you in secret or your son, or your daughter, or the wife of your embrace, or your friend, who is as your own soul saying, "Let us go and worship other gods, which neither you, nor your forefathers have known." Of the gods of the peoples around you, [whether] near to you or far from you, from one end of the earth to the other end of the earth; You shall not desire him, and you shall not hearken to him; neither shall you pity him, have mercy upon him, nor shield him. But you shall surely kill him, your hand shall be the first against him to put him to death, and afterwards the hand of all the people. And you shall stone him with stones so that he dies, because he sought to lead you astray from the Lord, your G-d, Who brought you out of the land of Egypt, out of the house of bondage. And all Israel shall listen and fear, and they shall no longer do any evil such as this in your midst.
If a city goes astray and people there worship idols, they should be killed and the city destroyed.
If you hear in one of your cities which the Lord, your G-d, is giving you to dwell therein, saying, "Unfaithful men have gone forth from among you and have led the inhabitants of their city astray, saying, 'Let us go and worship other gods, which you have not known.' " Then you shall inquire, investigate, and ask thoroughly, and, behold, it is true, the matter is certain, that such abomination has been committed in your midst: You shall surely strike down the inhabitants of that city with the edge of the sword, destroy it with all that is in it and its livestock, with the edge of the sword. And you shall collect all its spoil into the midst of its open square, and burn with fire the city and all its spoil, completely, for the Lord, your G-d; and it shall be a heap of destruction forever, never to be rebuilt. And nothing that is doomed to destruction shall cling to your hand, so that the Lord may return from His fierce wrath, and grant you compassion, and be compassionate with you, and multiply you, as He swore to your forefathers. For you shall hearken to the voice of the Lord your G-d, to keep all His commandments which I command you this day, to do that which is proper in the eyes of the Lord, your G-d.