Deuteronomy 17:5
17:5 you must bring to your city gates that man or woman who has done this wicked thing – that very man or woman – and you must stone that person to death.
Deuteronomy 22:21
22:21 the men of her city must bring the young woman to the door of her father’s house and stone her to death, for she has done a disgraceful thing in Israel by behaving like a prostitute while living in her father’s house. In this way you will purge evil from among you.