Saad bin Abu Waqqas and Abd bin Zama reported,

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, "He is my brother, born on my father's bed from his slave-girl."The Messenger of Allah ﷺ looked at the boy's resemblance and saw a clear likeness to Utba. He said, "He is yours, Abd. The child belongs to the bed, and the adulterer gets the stone. And you, Sawda bint Zama, veil yourself from him."So she never saw him at all.

Nasai 3514

Sahih

أخبرنا قتيبة قال حدثنا الليث عن ابن شهاب عن عروة عن عائشة قالت اختصم

سعد بن أبي وقاص وعبد بن زمعة في غلام فقال

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

النسائي 3514صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Divorce
Chapter
Attributing a child to the marriage bed if the husband does not deny him
Numbering
Darussalam 3514
Nasai 3514