It was narrated from Maimunah bint Sa`d, the freed slave woman of the Prophet (ﷺ) that :the Messenger of Allah (ﷺ) was asked about illegitimate children. He said: “Two sandals in which I wage Jihad are better than freeing an illegitimate child.”
Hadith No. 2531
Sunan Ibn Majah
Gradings:
Al-Albani:
Daif
Muhammad Fouad Abd al-Baqi:
Daif
Shuaib Al Arnaut:
Daif
Zubair Ali Zai:
Daif