Maybe in a moose limb country, and if the rapist can threaten or curse the mother into believing it, it would be moot. However, the kid is still born human, not of any particular cult or religion. It is what the parent(s) bring them up as, not the mixture of DNA.
Of course a normal person doesn’t think that a baby born to Mozlems is a Mozlem or has anything genetically Mozelm - that’s insane. But Mozlems think “once a Mozlem always a Mozlem” and it’s by birth, and they think this where ever they are, not just in Mozlem ruled countries. There are countless stories of parents killing their children, including in the US, becuase the teenagers don’t want to “act” Mozlem any more.