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 24:3

24:3 If the second husband rejects her and then divorces her, gives her the papers, and evicts her from his house, or if the second husband who married her dies,