Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:13973Abū ʿAbdullāh al-Ḥāfiẓ > ʿAbd al-Raḥman b. al-Ḥasan al-Qāḍī > Ibrāhīm b. al-Ḥusayn > Ādam > And Rqāʾ > Ibn Abū Najīḥ

[Machine] About Mujahid in his saying {And do not hold onto the bond of disbelieving women} [Al-Mumtahina 10], he said that the companions of the Prophet ﷺ were ordered to divorce women who were disbelievers in Makkah. They sat with the disbelievers in Makkah. Al-Shafi'i (may Allah have mercy on him) said, and Allah said {And do not marry the polytheistic women until they believe, and a believing slave woman is better than a polytheistic woman} [Al-Baqarah 221]. It was said about this verse that it was revealed concerning a group of Arab polytheists who were idol worshippers, and it was prohibited for them to marry their women just as it was prohibited for their women to marry the believers. If this is the case, then this verse is firm and there is no abrogation in it.  

البيهقي:١٣٩٧٣وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ عَبْدُ الرَّحْمَنِ بْنُ الْحَسَنِ الْقَاضِي ثنا إِبْرَاهِيمُ بْنُ الْحُسَيْنِ ثنا آدَمُ ثنا وَرْقَاءُ عَنِ ابْنِ أَبِي نَجِيحٍ

عَنْ مُجَاهِدٍ فِي قَوْلِهِ تَعَالَى {وَلَا تُمْسِكُوا بِعِصَمِ الْكَوَافِرِ} [الممتحنة 10] قَالَ أَمَرَ أَصْحَابَ النَّبِيِّ ﷺ بِطَلَاقِ نِسَاءٍ كُنَّ كَوَافِرَ بِمَكَّةَ قَعَدْنَ مَعَ الْكُفَّارِ بِمَكَّةَ قَالَ الشَّافِعِيُّ رَحِمَهُ اللهُ وَقَالَ اللهُ جَلَّ ثَنَاؤُهُ {وَلَا تَنْكِحُوا الْمُشْرِكَاتِ حَتَّى يُؤْمِنَّ وَلَأَمَةٌ مُؤْمِنَةٌ خَيْرٌ مِنْ مُشْرِكَةٍ} [البقرة 221] قِيلَ فِي هَذِهِ الْآيَةِ إِنَّهَا نَزَلَتْ فِي جَمَاعَةِ مُشْرِكِي الْعَرَبِ الَّذِينَ هُمْ أَهْلُ أَوْثَانٍ يَحْرُمُ نِكَاحُ نِسَائِهِمْ كَمَا يَحْرُمُ أَنْ يَنْكِحَ رِجَالُهُمُ الْمُؤْمِنَاتِ فَإِنْ كَانَ هَذَا هَكَذَا فَهَذِهِ الْآيَةُ ثَابِتَةٌ لَيْسَ فِيهَا مَنْسُوخٌ