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
It is one of Allah's commands to men that they have to treat their spouse well if they are getting divorced or are divorced. Who mistreats women has exceeded one of Allah's borders.