Mishkat
al-Masabih
مشكاة المصابيح
Marriage
كتاب النكاح
Chapter 4b: Women with whom Marriage is Prohibited - Section 2
باب المحرمات - الفصل الثاني
Mishkat al-Masabih 3179
Ibn ‘Abbas told that a woman who had accepted Islam married, and her husband (i.e. the one she had left to marry another when she became a Muslim) went to the Prophet (ﷺ) and said, " Messenger of Allah , I have accepted Islam and she knew that I had done so.” So Allah's Messenger ﷺ took her away from her second husband and restored her to her first. In a version he said, “She accepted Islam along with me,” so he restored her to him. Abu Dawud transmitted it.
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: أَسْلَمَتِ امْرَأَةٌ فَتَزَوَّجَتْ فَجَاءَ زَوْجُهَا إِلَى النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ: يَا رَسُولَ اللَّهِ إِنِّي قَدْ أَسْلَمْتُ وَعَلِمَتْ بِإِسْلَامِي فَانْتَزَعَهَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مِنْ زَوْجِهَا الْآخَرِ وَرَدَّهَا إِلَى زَوْجِهَا الْأَوَّلِ وَفِي رِوَايَةٍ: أَنَّهُ قَالَ: إِنَّهَا أَسْلَمَتْ مَعِي فَرَدَّهَا عَلَيْهِ. رَوَاهُ أَبُو دَاوُد
In-book reference: Mishkat al-Masabih Book 13 Chapter 4b Hadith 1