It is not in general it is specific to those in blood relation and faithful of Prophet (saws)
In Islam without nikah child is not warith.
but in Christianity that kind of kids beloved and blood relative, by quran son of nooh a.s. Allah says laisa beahlak, (he is not from u)