(32) باب مَنْ قَالَ بِالْقُرْعَةِ إِذَا تَنَازَعُوا فِي الْوَلَدِ
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."
Reference: Sunan Abi Dawud 2271
In-book reference: Book 13, Hadith 97
English translation: Book 12, Hadith 2264