Sahih Muslim , Book 9, Hadith 3575 (USC-MSA) ⓘ
This hadith has been narrated on the authority of Zuhri with the same chain of transmitters. In the hadith transmitted on the authority of Ma'mar, the (words are): " Messenger of Allah, my wife has given birth to a dark-complexioned boy, and he at that time was intending to disown him." And this addition has been made at the end of the hadith:" He (the Holy Prophet) did not permit him to disown him."
وَحَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، وَمُحَمَّدُ بْنُ رَافِعٍ، وَعَبْدُ بْنُ حُمَيْدٍ، قَالَ ابْنُ رَافِعٍ حَدَّثَنَا وَقَالَ الآخَرَانِ، أَخْبَرَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، ح وَحَدَّثَنَا ابْنُ رَافِعٍ، حَدَّثَنَا ابْنُ، أَبِي فُدَيْكٍ أَخْبَرَنَا ابْنُ أَبِي ذِئْبٍ، جَمِيعًا عَنِ الزُّهْرِيِّ، بِهَذَا الإِسْنَادِ . نَحْوَ حَدِيثِ ابْنِ عُيَيْنَةَ . غَيْرَ أَنَّ فِي، حَدِيثِ مَعْمَرٍ فَقَالَ يَا رَسُولَ اللَّهِ وَلَدَتِ امْرَأَتِي غُلاَمًا أَسْوَدَ وَهُوَ حِينَئِذٍ يُعَرِّضُ بِأَنْ يَنْفِيَهُ . وَزَادَ فِي آخِرِ الْحَدِيثِ وَلَمْ يُرَخِّصْ لَهُ فِي الاِنْتِفَاءِ مِنْهُ .
also referenced under: Book 19, Hadith 25 (In-Book) & Hadith 1500 (Reference)