Abdullah bin Abbas reported,

Ibn Abbas reported that during the time of the Messenger of Allah ﷺ, a woman embraced Islam and then remarried. Her former husband came to the Prophet ﷺ and said, "Messenger of Allah, I had already accepted Islam, and she knew of my conversion."So the Messenger of Allah ﷺ took her back from her second husband and returned her to her first husband.

Abu Dawud 2239

Daif

حدثنا نصر بن علي أخبرني أبو أحمد عن إسرائيل عن سماك عن عكرمة

عن ابن عباس

قال أسلمت امرأة على عهد رسول الله ﷺ فتزوجت فجاء زوجها إلى النبي ﷺ فقال يا رسول الله إني قد كنت أسلمت وعلمت بإسلامي فانتزعها رسول الله ﷺ من زوجها الآخر وردها إلى زوجها الأول

أبو داود 2239ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Divorce
Chapter
If one of the spouses accepts Islam
Numbering
Darussalam 2239
Abu Dawud 2239