It is narrated from Yasar bin Abi Al-Hakam that Ali (may Allah be pleased with him) said regarding a woman whose husband is missing: "When her husband returns and his wife has married someone else, then if he wishes, he may divorce her, and if he wishes, he may keep her in marriage, and the woman will not be given this choice."
Hadith Referenceمسند الإمام الشافعي / كتاب العدد والسكنى والنفقات / 1314
Hadith Takhrijاسناده ضعیف فان هثيم بن بشير مدلس وقد عنعن اخرجه البيهقي : 7 / 444 - وفى المعرفة السنن والآثار له (4687)۔