It is narrated from Sayyiduna Ali (may Allah be pleased with him), concerning a man who marries a woman afflicted with insanity, leprosy (judham) or vitiligo (baras), that he said: "She is his wife; if he wishes he may divorce her, and if he wishes he may keep her." All the narrators of the chain of this report are thiqat (trustworthy).
Imam al-Bayhaqi narrated it in his Sunan with these words, that Sayyiduna Ali (may Allah be pleased with him) said: "Any man who marries a woman who has vitiligo, insanity, leprosy or qarn (an obstruction of bone or flesh in the female organ), her husband has the choice (to annul the marriage) as long as he has not touched her (had intercourse with her); so if he wishes he may keep her, and if he wishes he may divorce her. But if he has had intercourse with her, the dowry (mahr) is due to her, because he made her private part lawful for himself." In the narration of Imam al-Thawri, this saying of Sayyiduna Ali (may Allah be pleased with him) is reported: "When a man marries a woman and finds in her the defect of insanity, vitiligo, leprosy or qarn, and he consummates the marriage with her, then she is his wife; if he wishes he may keep her, or divorce her." Imam Waki' added in this narration: "If he has not yet consummated the marriage with her, they are to be separated." From this it appears as if he (may Allah be pleased with him) held that the husband's right of choice is void once he has consummated the marriage. And Allah knows best.