Miscellaneous rules concerning marriage
2452. If a person gets entangled in Haraam acts owing to his not having a wife, it is obligatory for him to marry.
2453. If the husband makes it a condition before Nikah, that the woman should be a virgin, and it transpires after Nikah that she is not virgin, he can deduct and take the difference between the Mahr usually paid for a virgin woman and the one who is not a virgin. And as per precautionary measures, if he wants to separate from her, he should divorce her.