It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that a man performed li'an with his wife and denied the attribution of the child to himself. The Prophet (peace and blessings be upon him) separated the two and handed the child over to the mother.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 5312
Hadith Gradingحکم دارالسلام:إسناده صحيح ، خ : 5315، م : 1494 .