The authorities decide whether the woman returns the whole mahr or just a little of it (al-Baqarah [2] 229). After it is returned, the woman is divorced from her husband.
If a woman has betrayed her husband by committing adultery, what can be done is to divorce her. Because the Qur’an does not in any way allow the murder of a woman who commits immorality and cheats on her husband