Sahih al-Bukhari, Volume 8, Book 80, Hadith 741 (USC-MSA) ⓘ
Narrated `Aisha: `Utba (bin Abi Waqqas) said to his brother Sa`d, "The son of the slave girl of Zam`a is my son, so be his custodian." So when it was the year of the Conquest of Mecca, Sa`d took that child and said, "He is my nephew, and my brother told me to be his custodian." On that, 'Abu bin Zam`a got up and said, 'but the child is my brother, and the son of my father's slave girl as he was born on his bed." So they both went to the Prophet. Sa`d said, "O Allah's Messenger! (This is) the son of my brother and he told me to be his custodian." Then 'Abu bin Zam`a said, "(But he is) my brother and the son of the slave girl of my father, born on his bed." The Prophet said, "This child is for you. O 'Abu bin Zam`a, as the child is for the owner of the bed, and the adulterer receives the stones." He then ordered (his wife) Sauda bint Zam`a to cover herself before that boy as he noticed the boy's resemblance to `Utba. Since then the boy had never seen Sauda till he died.
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا مَالِكٌ، عَنِ ابْنِ شِهَابٍ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ قَالَتْ كَانَ عُتْبَةُ عَهِدَ إِلَى أَخِيهِ سَعْدٍ أَنَّ ابْنَ وَلِيدَةِ زَمْعَةَ مِنِّي، فَاقْبِضْهُ إِلَيْكَ. فَلَمَّا كَانَ عَامَ الْفَتْحِ أَخَذَهُ سَعْدٌ فَقَالَ ابْنُ أَخِي عَهِدَ إِلَىَّ فِيهِ. فَقَامَ عَبْدُ بْنُ زَمْعَةَ فَقَالَ أَخِي وَابْنُ وَلِيدَةِ أَبِي، وُلِدَ عَلَى فِرَاشِهِ. فَتَسَاوَقَا إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ سَعْدٌ يَا رَسُولَ اللَّهِ ابْنُ أَخِي قَدْ كَانَ عَهِدَ إِلَىَّ فِيهِ. فَقَالَ عَبْدُ بْنُ زَمْعَةَ أَخِي وَابْنُ وَلِيدَةِ أَبِي، وُلِدَ عَلَى فِرَاشِهِ. فَقَالَ النَّبِيُّ صلى الله عليه وسلم " هُوَ لَكَ يَا عَبْدُ بْنَ زَمْعَةَ، الْوَلَدُ لِلْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ ". ثُمَّ قَالَ لِسَوْدَةَ بِنْتِ زَمْعَةَ " احْتَجِبِي مِنْهُ ". لِمَا رَأَى مِنْ شَبَهِهِ بِعُتْبَةَ، فَمَا رَآهَا حَتَّى لَقِيَ اللَّهَ.
also referenced under: Book 85, Hadith 26 (In-Book) & Hadith 6749 (DarusSalam)