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.
bukhari:5287ʿAṭāʾ

Qariba, The daughter of Abi Umaiyya, was the wife of 'Umar bin Al-Khattab. 'Umar divorced her and then Mu'awiyya bin Abi Sufyan married her. Similarly, Um Al-Hakam, the daughter of Abi Sufyan was the wife of 'Iyad bin Ghanm Al-Fihri. He divorced her and then 'Abdullah bin 'Uthman Al-Thaqafi married her.  

البخاري:٥٢٨٧وَقَالَ عَطَاءٌ

عَنِ ابْنِ عَبَّاسٍ كَانَتْ قَرِيبَةُ بِنْتُ أَبِي أُمَيَّةَ عِنْدَ عُمَرَ بْنِ الْخَطَّابِ فَطَلَّقَهَا فَتَزَوَّجَهَا مُعَاوِيَةُ بْنُ أَبِي سُفْيَانَ وَكَانَتْ أُمُّ الْحَكَمِ ابْنَةُ أَبِي سُفْيَانَ تَحْتَ عِيَاضِ بْنِ غَنْمٍ الْفِهْرِيِّ فَطَلَّقَهَا فَتَزَوَّجَهَا عَبْدُ اللَّهِ بْنُ عُثْمَانَ الثَّقَفِيُّ  


See similar narrations below:

Collected by Bayhaqī
bayhaqi:13972Abū ʿAbdullāh al-Ḥāfiẓ > Aḥmad b. Muḥammad al-Nasawī > Ḥammād b. Shākir > Muḥammad b. Ismāʿīl > Ibrāhīm b. Mūsá > Hishām > Ibn Jurayj > ʿAṭāʾ > Ibn ʿAbbās

Qariba, The daughter of Abi Umaiyya, was the wife of 'Umar bin Al-Khattab. 'Umar divorced her and then Mu'awiyya bin Abi Sufyan married her. Similarly, Um Al-Hakam, the daughter of Abi Sufyan was the wife of 'Iyad bin Ghanm Al-Fihri. He divorced her and then 'Abdullah bin 'Uthman Al-Thaqafi married her. (Using translation from Bukhārī 5287)   

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

عَبَّاسٍ ؓ كَانَتْ قُرَيْبَةُ بِنْتُ أَبِي أُمَيَّةَ عِنْدَ عُمَرَ بْنِ الْخَطَّابِ ؓ فَطَلَّقَهَا فَتَزَوَّجَهَا مُعَاوِيَةُ بْنُ أَبِي سُفْيَانَ وَكَانَتْ أُمُّ الْحَكَمِ بِنْتُ أَبِي سُفْيَانَ تَحْتَ عِيَاضِ بْنِ غَنْمٍ الْفِهْرِيِّ فَطَلَّقَهَا فَتَزَوَّجَهَا عَبْدُ اللهِ بْنُ عُثْمَانَ الثَّقَفِيُّ  

أَخْرَجَهُ هَكَذَا فِي الصَّحِيحِ