The father is offering maintenance for his illegitimate child. Hence he desires to see the child regularly. The mother of the child refuses to allow him to see the child.
In principle, an illegitimate child is attributed to the mother only.
Granting the biological father rights and responsibility of maintenance will
be showing complacency to the illicit and Haraam act of Zina.
However, the mother may accept the maintenance given by the father and she
may also allow him visitation to his biological child.
and Allah Ta’ala Knows Best
Mufti Ebrahim Desai