كتاب المقدمات
The Book of Miscellany
(68)
Chapter: Leading an Abstemious Life and refraining from the Doubtful
(68)
- باب الورع وترك الشبهات
Riyad as-Salihin 591
'Uqbah bin Al-Harith (May Allah be pleased with him) reported that he had married a daughter of Abu Ihab bin 'Aziz and a woman came to him and said she had suckled both 'Uqbah and the woman whom he had married, to which he replied:
"I am not aware that you suckled me, and you did not inform me." So he ('Uqbah) rode to Messenger of Allah (ﷺ) in Al-Madinah and put the matter before him. The Messenger of Allah (ﷺ) said, "How can you continue (to be her husband) after what you have been told?" 'Uqbah (May Allah be pleased with him) therefore divorced her and she married another man.

[Al- Bukhari].

وعن أبي سروعة -كسر السين المهملة ونصبها- عقبة بن الحارث رضي الله عنه أنه تزوج ابنة لأبي إهاب بن عزيز، فأتته امرأة فقالت‏:‏ إنى قد أرضعت عقبة والتى قد تزوج بها، فقال لها عقبة‏:‏ ما أعلم أنك أرضعتني ولا أخبرتني فركب إلى رسول الله صلى الله عليه وسلم بالمدينة فسأله فقال رسول الله صلى الله عليه وسلم‏:‏ “كيف، وقد قيل‏؟‏‏!‏” ففارقها عقبة ونكحت زوجاً غيره”‏.‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 591
In-book reference : Introduction, Hadith 591