Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:417ʿAbdullāh > Shaybān Abū Muḥammad > Mahdī b. Maymūn > Muḥammad b. ʿAbdullāh b. Abū Yaʿqūb > al-Ḥasan b. Saʿdʿan Rabāḥ Fadhakar al-Ḥadīth > Farafaʿtuhumā > Amīr al-Muʾminīn ʿUthmān b.iʿaffān

[Machine] I raised them to the leader of the believers, Uthman ibn Affan, and he said, "The Messenger of Allah ﷺ decided that the child belongs to the bed, so he mentioned its likeness."  

أحمد:٤١٧حَدَّثَنَا عَبْدُ اللهِ حَدَّثَنَا شَيْبَانُ أَبُو مُحَمَّدٍ حَدَّثَنَا مَهْدِيُّ بْنُ مَيْمُونٍ حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ أَبِي يَعْقُوبَ عَنِ الْحَسَنِ بْنِ سَعْدٍعَنْ رَبَاحٍ فَذَكَرَ الْحَدِيثَ قَالَ

فَرَفَعْتُهُمَا إِلَى أَمِيرِ الْمُؤْمِنِينَ عُثْمَانَ بْنِعَفَّانَ فَقَالَ إِنَّ رَسُولَ اللهِ ﷺ قَضَى أَنَّ الْوَلَدَ لِلْفِرَاشِ فَذَكَرَ مِثْلَهُ