Hadithcore
Hadith #2114110

Narrated 'Uqbah bin al-Harith:

He married Umm Yahya, daughter of Abu Ihab, and a woman came and said, "I have suckled both of you." So he asked the Prophet (ﷺ) and he replied, "How (can you hesitate) while it has been said (that you are foster brothers and sisters)?" 'Uqbah therefore separated from her and she married another husband. [al-Bukhari reported it].

وَعَنْ عُقْبَةَ بْنِ اَلْحَارِثِ; { أَنَّهُ تَزَوَّجَ أُمَّ يَحْيَى بِنْتَ أَبِي إِهَابٍ, فَجَاءَتْ اِمْرَأَةٌ.‏ فَقَالَتْ: قَدْ أَرْضَعْتُكُمَا, فَسَأَلَ اَلنَّبِيَّ ‏- صلى الله عليه وسلم ‏-فَقَالَ:

كَيْفَ وَقَدْ قِيلَ?

فَفَارَقَهَا عُقْبَةُ.‏ وَنَكَحَتْ زَوْجًا غَيْرَهُ.‏ } أَخْرَجَهُ اَلْبُخَارِيُّ [1]‏ .‏

References2 variants
Sunnah.com reference
Book 8, Hadith 200
Arabic/English book reference
Book 8, Hadith 1147