Uqba bin Harith reported,

I heard it from Uqba as well, but I remember Ubayd's version better. He said, "I married a woman, and a black woman came to us and said, 'I have nursed you both.' So I went to the Prophet ﷺ and said, 'I have married so-and-so the daughter of so-and-so, and a black woman came to us and claimed, "I have nursed you both," but she is lying.'"He continued, "The Prophet turned away from me, so I came around to face him, but he turned his face away again. I said, 'She is lying.'"The Prophet replied, "How can you keep her when she has claimed that she nursed you both? Leave her."

Tirmidhi 1151

Sahih

حدثنا علي بن حجر حدثنا إسمعيل بن إبراهيم عن أيوب عن عبد الله بن أبي مليكة قال حدثني عبيد بن أبي مريم

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

وسمعته من عقبة ولكني لحديث عبيد أحفظ قال تزوجت امرأة فجاءتنا امرأة سوداء فقالت إني قد أرضعتكما فأتيت النبي ﷺ فقلت تزوجت فلانة بنت فلان فجاءتنا امرأة سوداء فقالت إني قد أرضعتكما وهي كاذبة قال فأعرض عني قال فأتيته من قبل وجهه فأعرض عني بوجهه فقلت إنها كاذبة قال وكيف بها وقد زعمت أنها قد أرضعتكما دعها عنك

الترمذي 1151صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Breastfeeding
Chapter
Testimony of a single woman regarding breastfeeding
Numbering
Darussalam 1151
Tirmidhi 1151