حَدَّثَنَا الْقَعْنَبِيُّ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَجُلاً، لاَعَنَ امْرَأَتَهُ فِي زَمَانِ رَسُولِ اللَّهِ صلى الله عليه وسلم وَانْتَفَى مِنْ وَلَدِهَافَفَرَّقَ رَسُولُ اللَّهِ صلى الله عليه وسلم بَيْنَهُمَا وَأَلْحَقَ الْوَلَدَ بِالْمَرْأَةِ ‏.‏ قَالَ أَبُو دَاوُدَ الَّذِي تَفَرَّدَ بِهِ مَالِكٌ قَوْلُهُ ‏"‏ وَأَلْحَقَ الْوَلَدَ بِالْمَرْأَةِ ‏"‏ ‏.‏ وَقَالَ يُونُسُ عَنِ الزُّهْرِيِّ عَنْ سَهْلِ بْنِ سَعْدٍ فِي حَدِيثِ اللِّعَانِ وَأَنْكَرَ حَمْلَهَا فَكَانَ ابْنُهَا يُدْعَى إِلَيْهَا ‏.‏
Translation
Ibn ‘Umar said A man invoked curses on his wife (charging her of adultery) during the time of Apostle of Allaah(ﷺ) and disowned the child. The Apostle of Allaah(ﷺ) therefore separated them and attributed the child to the woman.Abu Dawud said “The words narrated by Malik alone are “and he attributed the child to the woman.”"Abu Dawud said

That a man accused his wife of adultery using the words of invoking curses (li'an) during the time of the Messenger of Allah (ﷺ) and disowned her child. The Messenger of Allah (ﷺ) separated them and attributed the child to the woman.

Abu Dawud said: What Malik alone reported in this is his saying: "And attributed the child to the woman."

And Yunus narrated from Al-Zuhri, on the authority of Sahl bin Sa'd, concerning the hadith of li'an: And he denied her pregnancy, so her son was attributed to her.