It is a well-established Islamic concept that sons have to be named after their biological fathers, both in form and substance. Referring to this, Allah Almighty says: “Allah has not assigned unto any man two hearts within his body, nor has He made your wives who you declare (to be your mothers) your mothers, nor has He made those who you claim (to be your children) your children. This is but a saying of your mouths. But Allah says the truth and He shows the way. Proclaim their real parentage. That will be more equitable in the sight of Allah. And if you know not their fathers, then (they are) your brethren in the faith, and your clients. And there is no sin for you in the mistakes that you make unintentionally, but what your hearts purpose (that will be a sin for you). Allah is Forgiving, Merciful.” (Al-Ahzab: 4-5)
So, in the light of the above, every child must be named after his biological father, and nothing of sort compromise should be accepted on that matter, for Muslim should not do what contravenes Allah’s teachings.