Uqba bin Harith reported,

He married Umm Yahya bint Abu Ihab. A black slave woman came and said, "I have nursed you both."He mentioned this to the Prophet ﷺ, but the Prophet ﷺ turned away from him. He moved to the other side and mentioned it to him again.The Prophet ﷺ said, "How can you stay with her when she has claimed that she nursed you both?" He forbade him from her.In another narration, "How can you, when it has been said? Leave her."

Azami 6749

Sahih

عن عقبة بن الحارث

أنه تزوج أم يحيى بنت أبي إهاب، قال: فجاءت أمة سوداء فقالت: قد أرضعتكما، فذكرت ذلك للنبي ﷺ فأعرض عني، قال: فتنحيت فذكرت ذلك له، قال: وكيف وقد زعمت أن قد أرضعتكماا فنهاه عنها. وفي رواية: وكيف وقد قيل! دعها عنكا

الأعظمي 6749صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Judgeship
Chapter
Testimonies
Section
Testimony regarding breastfeeding
Numbering
Jami al-Kamil 6749 (2nd edition)
Azami 6749