Sayyiduna Abu Hurayrah (may Allah be pleased with him) heard the Messenger of Allah (peace and blessings be upon him) say: when the verses of li'an were revealed, the Prophet (peace and blessings be upon him) said: "Any woman who brings into a people a child who is not from them, Allah bears no responsibility for her, and Allah will never admit her into Paradise. And any man who knowingly denies his child, Allah, the Lord of Might, will veil Himself from him and will disgrace him before all creation, the first and the last."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب اللعان / 15333