Abu Hurairah reported,

A man from the tribe of Banu Fazarah came to the Messenger of Allah ﷺ and said, "My wife has given birth to a black boy."The Messenger of Allah ﷺ asked him, "Do you have any camels?"He replied, "Yes."The Prophet asked, "What are their colors?"He said, "Red."The Prophet asked, "Is there a dusky one among them?"He answered, "Yes, there are some dusky ones."The Prophet asked, "How do you suppose that came about?"He said, "Perhaps it was drawn out by some ancestral strain."The Messenger of Allah ﷺ said, "And this child too, perhaps an ancestral strain has drawn out his color."

Nasai 3508

Sahih

أخبرنا إسحق بن إبراهيم قال أنبأنا سفيان عن الزهري عن سعيد بن المسيب

عن أبي هريرة

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

النسائي 3508صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Divorce
Chapter
If he alludes to his wife and doubts his child and wants to disavow him
Numbering
Darussalam 3508
Nasai 3508