عَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا أَنَّ رَجُلًا لَاعَنَ امْرَأَتَهُ وَانْتَفَى مِنْ وَلَدِهَا فَفَرَّقَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ بَيْنَهُمَا فَأَلْحَقَ الْوَلَدَ بِالْمَرْأَةِ
Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that a man performed li'an with his wife and also denied his relation to her child. The Messenger of Allah (peace and blessings be upon him) separated them and attributed the child to the woman.