Sheikh Hânî al-Jubayr, judge at the Jeddah Supreme Court
The marriage is still valid. However, the woman has the right to ask for a divorce for this reason. If the husband agrees, it is fine. If not, she can petition for a divorce from the Islamic courts or appropriate Islamic authorities in her locality, if such an option is availible. Otherwise, they can arbitrate to someone, a Muslim, who is acceptable to both of them.
If the judge believes the claim of the woman against her husband, then the judge can terminate their marriage contract. Otherwise, there is no way to terminate the marriage contract except by her refunding the dowry paid by the husband back to him. Thereupon, he will be obliged to divorce her.
If the woman’s parents want their daughter to stay with her husband as he may repent, then it is permissible, but not obligatory for the woman to comply with their wishes.
Source: Islam Today