It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "That I provide a whip (for use) in the path of Allah is dearer to me than freeing a child born of fornication." And he (peace and blessings be upon him) said: "The child born of fornication is the worst of the three, and the dead person is punished because of the weeping of the living." Sayyidah Aishah (may Allah be pleased with her) said: May Allah Almighty have mercy on Abu Hurayrah (may Allah be pleased with him); he did not hear correctly. His (peace and blessings be upon him) saying, "That I provide a whip (for use) in the path of Allah is better than freeing a child born of fornication," he (peace and blessings be upon him) said after the revelation of these verses: "But he has not attempted the steep pass. And what will make you know what the steep pass is? It is the freeing of a neck (a slave)." [Surah al-Balad: 11-13]
It was said: O Messenger of Allah! We have nothing to free, except that one of us has a black slave girl from whom he takes service and the like; what if we ordered them to commit fornication, and freed the children they bore? So he (peace and blessings be upon him) said: "That I provide a whip (for use) in the path of Allah is dearer to me than that I order fornication and then free the child." And as for his (peace and blessings be upon him) saying, "The child born of fornication is the worst of the three," the hadith was not like this; rather, there was a hypocrite who used to harm the Prophet (peace and blessings be upon him), and he (peace and blessings be upon him) said: "Who will relieve me of so-and-so?" It was said: O Messenger of Allah! Besides all that is wrong with him, he is also a child born of fornication. Then he (peace and blessings be upon him) said: "He is the worst of the three." And Allah Almighty says: "No soul will bear the burden of another." [Surah al-An'am: 164] And as for his (peace and blessings be upon him) saying that the dead person is punished because of the weeping of the living, the hadith was not like this; rather, the Prophet (peace and blessings be upon him) passed by the house of a Jew who had died, and his family were weeping over him, and he (peace and blessings be upon him) said: "He is being punished while they are weeping." And Allah Almighty says: "Allah does not burden a soul beyond its capacity." [Surah al-Baqarah: 286]
(b) A mursal report from Sayyidah Aishah (may Allah be pleased with her) is also transmitted concerning freeing a child born of fornication.
Salamah bin al-Fadl al-Abrash narrates munkar (objectionable) reports.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 19991