To whom should illegitimate children be attributed?
Q: I was sent by a governmental institution to study abroad after receiving my secondary certificate. I followed in the footsteps of Satan
and became acquainted with a young girl. We were together a number of times, then I finally abandoned all of this. Four months later, I heard that she was pregnant and she claimed that I was the father of this child. (After she gave birth) I noticed that the child resembled me
and everyone who saw him maintained the same. I have no doubt about the child being mine. This has disturbed me greatly and represents a bad past for me. Now, I want to marry but whenever I remember this girl and the child I become extremely sad, because of the bad reputation of this girl who is the mother of my child. I cannot bring this young woman here and marry her, because it is not permitted here to marry foreign girls, in addition to other reasons. Should I forget about her and the child and marry another woman or bring them here? Appreciate your guidance, may Allah reward you with the best.
(Part No. 11; Page No. 254
First, you must repent to Allah for this immoral act and increase your good deeds so that Allah may replace your sins with good deeds.Second, the child who this young woman gave birth to is not attributed to you but to her. You are not responsible for his provision. However, there is nothing wrong in doing good to him as a righteous deed.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.