Language:
كتاب الفرائض
85  
Laws of Inheritance (Al-Faraa'id)
(28)
Chapter: Whoever claims that somebody is his brother or his nephew
(28)
باب مَنِ ادَّعَى أَخًا أَوِ ابْنَ أَخٍ
Sahih al-Bukhari 6765

Narrated `Aisha:

Sa`d bin Abi Waqqas and 'Abu bin Zam`a had a dispute over a boy. Sa`d said, "O Allah's Messenger (ﷺ)! This (boy) is the son of my brother, `Utba bin Abi Waqqas who told me to be his custodian as he was his son. Please notice to whom he bears affinity." And 'Abu bin Zam`a said, "This is my brother, O Allah's Messenger (ﷺ)! He was born on my father's bed by his slave girl." Then the Prophet (ﷺ) looked at the boy and noticed evident resemblance between him and `Utba, so he said, "He (the toy) is for you, O 'Abu bin Zam`a, for the boy is for the owner of the bed, and the stone is for the adulterer. Screen yourself before the boy, O Sauda bint Zam`a." `Aisha added: Since then he had never seen Sauda.

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا اللَّيْثُ، عَنِ ابْنِ شِهَابٍ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ أَنَّهَا قَالَتِ اخْتَصَمَ سَعْدُ بْنُ أَبِي وَقَّاصٍ وَعَبْدُ بْنُ زَمْعَةَ فِي غُلاَمٍ فَقَالَ سَعْدٌ هَذَا يَا رَسُولَ اللَّهِ ابْنُ أَخِي عُتْبَةَ بْنِ أَبِي وَقَّاصٍ عَهِدَ إِلَىَّ أَنَّهُ ابْنُهُ، انْظُرْ إِلَى شَبَهِهِ‏.‏ وَقَالَ عَبْدُ بْنُ زَمْعَةَ هَذَا أَخِي يَا رَسُولَ اللَّهِ، وُلِدَ عَلَى فِرَاشِ أَبِي مِنْ وَلِيدَتِهِ‏.‏ فَنَظَرَ رَسُولُ اللَّهِ صلى الله عليه وسلم إِلَى شَبَهِهِ فَرَأَى شَبَهًا بَيِّنًا بِعُتْبَةَ فَقَالَ ‏ "‏ هُوَ لَكَ يَا عَبْدُ، الْوَلَدُ لِلْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ، وَاحْتَجِبِي مِنْهُ يَا سَوْدَةُ بِنْتَ زَمْعَةَ ‏"‏‏.‏ قَالَتْ فَلَمْ يَرَ سَوْدَةَ قَطُّ‏.‏
Reference : Sahih al-Bukhari 6765
In-book reference : Book 85, Hadith 42
USC-MSA web (English) reference : Vol. 8, Book 80, Hadith 757
  (deprecated numbering scheme)