Sayyidah Salma bint Nasr al-Muharibiyyah (may Allah be pleased with her) said: I asked Aishah (may Allah be pleased with her) about freeing a child born of fornication, and she said: "Free him."
Hadith Referenceالمعجم الكبير للطبراني / مسند النساء / 21138