If the man becomes Muslim and the woman has not married another, they remain in their first marriage, no matter how long a period has passed, provided that both of them wish to live together.
It is narrated from Ibn Abbas (may Allah be pleased with them both) that:
رد رسول الله صلى الله عليه وسلم ابنته زينب على أبى العاص فى النكاح الأول ولم يحدث شيئا
“The Messenger of Allah ﷺ returned his daughter Zaynab to Abu al-As in the first marriage, and he did not initiate anything new.”
In one narration it says that he returned her after two years, in another after three years, and in another after six years.
[Sahih: Sahih Abi Dawud: 1957, Kitab al-Nikah: Bab ila mata turaddu ‘alayhi imra’atuhu idha aslama ba’daha, Abu Dawud: 2240, Ibn Majah: 2009, Tirmidhi: 1143, Ahmad: 217/1. Shaykh al-Albani (may Allah have mercy on him) declared the rest of the hadith sahih (authentic), except for the mention of two years.]
Imam Ibn al-Qayyim (may Allah have mercy on him) writes that the most authentic statement among them is that Zaynab (may Allah be pleased with her) was returned to the first marriage after three years, and that Abu al-As became Muslim before Hudaybiyyah.
[Zad al-Ma’ad: 14/4]
The narration in which it is said that the Prophet ﷺ sent his daughter Zaynab (may Allah be pleased with her) back to Abu al-As with a new marriage is da’if (weak).
[Da’if: Da’if Ibn Majah: 436, Kitab al-Nikah: Bab al-Zawjayn yuslimu ahaduhuma qabla al-akhar, Irwa al-Ghalil: 1922, Ibn Majah: 2010, Tirmidhi: 1142, Hakim: 639/3, Bayhaqi: 188/7, Ahmad: 207/2]
It is therefore known that although the woman who has become Muslim gains the right, after her ‘iddah has passed, to contract a new marriage with a Muslim, yet if she does not marry and her first husband becomes Muslim, they do not need a new marriage in order to live together again. And to impose a condition such as that her husband must have become Muslim during the ‘iddah, otherwise they must contract a new marriage, is completely contrary to the Sunnah.
(Ibn al-Qayyim) The hadiths nowhere mention that the ‘iddah is to be taken into account, nor did the Prophet ﷺ ask any woman whether her ‘iddah had ended or not. To our knowledge there is not a single man who was obliged to renew his marriage because of accepting Islam. Rather, one of two matters must occur: either the two are separated and the woman marries another man, or the (first) marriage of the two remains in place, whether the woman accepted Islam first or the man. As for the completion of the separation and the consideration of the ‘iddah, we do not know that the Messenger of Allah ﷺ ruled on the basis of either of these two, even though in his blessed era many men and their wives accepted Islam.
[Zad al-Ma’ad: 137/5]
(Shawkani, Imam Ibn al-Qayyim) This discussion has reached the utmost of gravity and excellence.
[Nayl al-Awtar: 246/4]