Deuteronomy 17:2-7 Holman Christian Standard Bible (HCSB)
The Judicial Procedure for Idolatry
2 “If a man or woman among you in one of your towns that the Lord your God will give you is discovered doing evil in the sight of the Lord your God and violating His covenant 3 and has gone to worship other gods by bowing down to the sun, moon, or all the stars in the sky—which I have forbidden— 4 and if you are told or hear about it, you must investigate it thoroughly. If the report turns out to be true that this detestable thing has happened in Israel, 5 you must bring out to your gates that man or woman who has done this evil thing and stone them to death. 6 The one condemned to die is to be executed on the testimony of two or three witnesses. No one is to be executed on the testimony of a single witness. 7 The witnesses’ hands are to be the first in putting him to death, and after that, the hands of all the people. You must purge the evil from you.