Ayesha reported,

Saad bin Abu Waqqas and Abd bin Zama disputed over a boy.Saad said, "Messenger of Allah, this is the son of my brother Utba bin Abu Waqqas. He entrusted to me that the boy is his son. Look at the resemblance."Abd bin Zama said, "This is my brother, Messenger of Allah. He was born on my father's bed from his slave-girl."The Messenger of Allah ﷺ looked at the boy and saw a clear resemblance to Utba, but he said, "He is yours, Abd bin Zama. The child belongs to the bed, and the adulterer gets the stone. And you, Sawda bint Zama, veil yourself from him."So Sawda never saw him at all.

Bukhari 2218

Sahih

حدثنا قتيبة حدثنا الليث عن ابن شهاب عن عروة

عن عائشة رضي الله عنها أنها قالت

اختصم سعد بن أبي وقاص وعبد بن زمعة في غلام فقال سعد هذا يا رسول الله ابن أخي عتبة بن أبي وقاص عهد إلي أنه ابنه انظر إلى شبهه وقال عبد بن زمعة هذا أخي يا رسول الله ولد على فراش أبي من وليدته فنظر رسول الله ﷺ إلى شبهه فرأى شبها بينا بعتبة فقال هو لك يا عبد بن زمعة الولد للفراش وللعاهر الحجر واحتجبي منه يا سودة بنت زمعة فلم تره سودة قط

البخاري 2218صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sales
Chapter
Purchasing a slave from a hostile combatant, gifting him, and freeing him
Numbering
Darussalam 2218
Bukhari 2218