Narrated Abu Huraira: A bedouin came to Allah's Messenger ﷺ and said, "My wife has delivered a black boy, and I suspect that he is not my child". Allah's Messenger ﷺ said to him, "Have you got camels?" The bedouin said, "Yes". The Prophet said, "What color are they?" The bedouin said, "They are red". The Prophet ﷺ said, "Are any of them Grey?" He said, "There are Grey ones among them". The Prophet ﷺ said, "Whence do you think this color came to them?" The bedouin said, "O Allah's Messenger ﷺ! It resulted from hereditary disposition". The Prophet ﷺ said, "And this (ie, your child) has inherited his color from his ancestors". The Prophet ﷺ did not allow him to deny his paternity of the child.
This hadith teaches us an important lesson about accepting people for who they are regardless of their physical appearance or background since we all come from different backgrounds with different traits passed down through generations in our families. It also teaches us about being responsible parents by accepting our children no matter what their physical characteristics may be or where they come from because ultimately we are all related in one way or another through our ancestors.