Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates: In the blessed era of the Prophet (peace and blessings be upon him), a man invoked li'an with his wife and denied the lineage of the child (born to that woman). So the Prophet (peace and blessings be upon him) separated the two (husband and wife) and attributed the child to his mother.
Hadith Referenceصحیح ابن حبان / كتاب الطلاق / 4288
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (1955): ق.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرطهما