A bedouin came to Messenger of Allah ﷺ and said, "My wife has delivered a black child." The Prophet ﷺ said to him, "Have you camels?" He replied, "Yes." The Prophet ﷺ said, "What color are they?" He replied, "They are red." The Prophet ﷺ further asked, "Are any of them gray in color?" He replied, "Yes." The Prophet asked him, "Whence did that grayness come?" He said, "I thing it descended from the camel's ancestors." Then the Prophet ﷺ said (to him), "Therefore, this child of yours has most probably inherited the color from his ancestors." (Using translation from Bukhārī 6847)
أَنَّ رَسُولَ اللهِ ﷺ جَاءَهُ أَعْرَابِيٌّ فَقَالَ إِنَّ امْرَأَتِي وَلَدَتْ غُلَامًا أَسْوَدَ قَالَ هَلْ لَكَ مِنْ إِبِلٍ؟ قَالَ نَعَمْ قَالَ مَا أَلْوَانُهَا؟ قَالَ حُمْرٌ قَالَ هَلْ فِيهَا أَوْرَقُ؟ قَالَ نَعَمْ قَالَ مِمَّ ذَاكَ؟ قَالَ ذَاكَ عِرْقٌ نَزَعَهُ قَالَ رَسُولُ اللهِ ﷺ فَلَعَلَّ ابْنَكَ نَزَعَهُ عِرْقٌ لَفْظُ حَدِيثِ الْأَسْفَاطِيِّ