Hazrat Sha'bi (may Allah have mercy on him) said: "If a virgin woman commits adultery and is exiled from the city, she will remain in her husband's marriage. If a man does the same, the ruling is the same for him."
Hadith Referenceسنن سعید بن منصور / كتاب النكاح / 2047