Deuteronomy 17
5 Ref Then you are to take the man or woman who has done the evil to the public place of your town, and they are to be stoned with stones till they are dead.
6 Ref On the word of two or three witnesses, a man may be given the punishment of death; but he is not to be put to death on the word of one witness.
7 Ref The hands of the witnesses will be the first to put him to death, and after them the hands of all the people. So you are to put away the evil from among you.