The child is for the owner of the bed
باب الْوَلَدُ لِلْفِرَاشِ حُرَّةً كَانَتْ أَوْ أَمَةً
Sahih al-Bukhari, Book of Laws of Inheritance (Al-Faraa'id)(view book)
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 Apostle! (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.
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، أَخْبَرَنَا مَالِكٌ، عَنِ ابْنِ شِهَابٍ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ قَالَتْ كَانَ عُتْبَةُ عَهِدَ إِلَى أَخِيهِ سَعْدٍ أَنَّ ابْنَ وَلِيدَةِ زَمْعَةَ مِنِّي، فَاقْبِضْهُ إِلَيْكَ. فَلَمَّا كَانَ عَامَ الْفَتْحِ أَخَذَهُ سَعْدٌ فَقَالَ ابْنُ أَخِي عَهِدَ إِلَىَّ فِيهِ. فَقَامَ عَبْدُ بْنُ زَمْعَةَ فَقَالَ أَخِي وَابْنُ وَلِيدَةِ أَبِي، وُلِدَ عَلَى فِرَاشِهِ. فَتَسَاوَقَا إِلَى النَّبِيِّ ﷺ فَقَالَ سَعْدٌ يَا رَسُولَ اللَّهِ ابْنُ أَخِي قَدْ كَانَ عَهِدَ إِلَىَّ فِيهِ. فَقَالَ عَبْدُ بْنُ زَمْعَةَ أَخِي وَابْنُ وَلِيدَةِ أَبِي، وُلِدَ عَلَى فِرَاشِهِ. فَقَالَ النَّبِيُّ ﷺ " هُوَ لَكَ يَا عَبْدُ بْنَ زَمْعَةَ، الْوَلَدُ لِلْفِرَاشِ وَلِلْعَاهِرِ الْحَجَرُ ". ثُمَّ قَالَ لِسَوْدَةَ بِنْتِ زَمْعَةَ " احْتَجِبِي مِنْهُ ". لِمَا رَأَى مِنْ شَبَهِهِ بِعُتْبَةَ، فَمَا رَآهَا حَتَّى لَقِيَ اللَّهَ.
Classification
Narrated Abu Huraira:
The Prophet ﷺ said, "The boy is for the owner of the bed."
حَدَّثَنَا مُسَدَّدٌ، عَنْ يَحْيَى، عَنْ شُعْبَةَ، عَنْ مُحَمَّدِ بْنِ زِيَادٍ، أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ، عَنِ النَّبِيِّ ﷺ قَالَ " الْوَلَدُ لِصَاحِبِ الْفِرَاشِ ".