Qatadah (may Allah have mercy on him) narrates from Khilas (may Allah have mercy on him) that a woman was married by her guardians in al-Jazirah to Ubaydullah bin al-Hurr, and afterwards her family married her off in Kufah. They brought the case to Sayyiduna Ali (may Allah be pleased with him), and Sayyiduna Ali (may Allah be pleased with him) separated the woman from the second husband, returned her to the first husband, made the dower (mahr) binding on the second for the benefit he had taken, and ordered the first husband not to go near her until her waiting period ('iddah) was complete.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13809