Mujahid (may Allah have mercy on him) said: He may deny the child, even if he has grown up to be a man.