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.
abudawud:2271ʿUbaydullāh b. Muʿādh from my father > Shuʿbah > Salamah > al-Shaʿbī > al-Khalīl or Ibn al-Khalīl > Utī

Khalil or Ibn Khalil said “A woman was brought to Ali bin Abi Talib(may Allaah be pleased with him). She bore a child from intercourse of three persons. The narrator transmitted the rest of the tradition similar to the previous one. But in this version he did not mention “Yemen” and the Prophet ﷺ and his words “give the child willingly.”  

أبو داود:٢٢٧١حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ حَدَّثَنَا أَبِي حَدَّثَنَا شُعْبَةُ عَنْ سَلَمَةَ سَمِعَ الشَّعْبِيَّ عَنِ الْخَلِيلِ أَوِ ابْنِ الْخَلِيلِ قَالَ

أُتِيَ عَلِيُّ بْنُ أَبِي طَالِبٍ ؓ فِي امْرَأَةٍ وَلَدَتْ مِنْ ثَلاَثٍ نَحْوَهُ لَمْ يَذْكُرِ الْيَمَنَ وَلاَ النَّبِيَّ ﷺ وَلاَ قَوْلَهُ طِيبَا بِالْوَلَدِ