there is further detail. If there is cause for suspicion, he is not ascribed to him. An example of such suspicion is where the foundling has abundant wealth, and after the foundling’s death someone claims that he was his son in order to inherit that wealth. In this case, we do not accept his claim, because the grounds for suspicion are fully present. Moreover, what benefit, in terms of lineage, is gained when he has died and left neither descendants nor anything behind?! This view is correct: after the foundling’s death, if suspicion and circumstantial evidence indicate—for example—that he only seeks the wealth, we do not ascribe the foundling to him.
His statement, “and he does not follow,” refers to the foundling.
His statement, “the disbeliever in his religion,” means the disbeliever who claims him as his child. We rule that the foundling is his child, but we do not rule that he follows his religion, since it has previously been established that the foundling is Muslim.
His statement, “unless clear evidence testifies that he was born upon his marital bed”: if he produces clear evidence that the child was born to his wife or to his concubine, then he must be ascribed to him in both lineage and religion, until he reaches the age of discernment and chooses whichever religion he wishes. But if he claims him without any evidence, then the foundling follows the disbeliever in lineage but not in religion.
From his statement, “and he does not follow the disbeliever in his religion unless clear evidence testifies,” we learn that the child of a disbeliever follows the disbeliever in religion. Thus, if the parents of a child die as disbelievers, that child is legally deemed a disbeliever with respect to the rulings of this world: he is neither washed, shrouded, nor prayed over, nor buried among the Muslims, because he is legally deemed a disbeliever. As for the Hereafter, the correct view is that the children of the polytheists will be tested: that is, Allah, exalted is He, will question them in the Hereafter and charge them with matters known only to Him. Some of them will obey and others will disobey. Whoever obeys will deserve the reward of the obedient, and whoever disobeys will deserve the recompense of the disobedient. This is the soundest of the views.