A man performed lian against his wife and disowned her child. The Messenger of Allah ﷺ separated the two and assigned the child to the woman.
حدثنا أحمد بن سنان حدثنا عبد الرحمن بن مهدي عن مالك بن أنس عن نافع
أن رجلا لاعن امرأته وانتفى من ولدها ففرق رسول الله ﷺ بينهما وألحق الولد بالمرأة
Bukhari transmitted it in the Book of Divorce, Chapter on the Child Being Attributed to the Woman Involved in Lian, no. 6748, 5315, and Muslim in the Book of Lian, no. 1494, from the hadith of Malik, through this same chain.