A man from the tribe of Banu Fazarah came to the Prophet ﷺ and said, "My wife has given birth to a black boy."The Prophet ﷺ asked, "Do you have any camels?"He said, "Yes."The Prophet ﷺ asked, "What are their colors?"He said, "Red."The Prophet ﷺ asked, "Are any of them dusky?"He said, "Yes, some of them are dusky."The Prophet ﷺ asked, "How did that come about?"He said, "Perhaps it was inherited from a distant ancestor."The Prophet ﷺ said, "And this child too may have inherited his color from a distant ancestor."Wazad in another narration, he was not permitted to disown the child.
جاء رجل من بنى فزارة إلى النبي ﷺ فقال: إن امرأتي ولدت غلاما أسود. فقال النبي ﷺ: هل لك من إبل؟ قال: نعم. قال: فما ألوانها؟ قال حمر. قال: هل فيها من أورق؟ قال: إن فيها لورقا. قال: فأنى أتاها ذلك؟ قال: أن يكون نزعه عرق. قال: وهذا عسى أن يكون نزعه عرق. وزاد في رواية: ولم يرخص له في الانتفاء منه.
Bukhari narrated it in "Divorce" (5305) via Malik, and Muslim narrated it in "Lian" (1500) via Sufyan bin Uyayna, both of them from Zuhri, from Saeed bin Musayab, from Abu Hurairah, and he mentioned it. The wording given is Muslim's, and likewise the addition is also his, via Mamar from Zuhri.