It is narrated from Ibrahim, may Allah have mercy on him, that Sayyiduna Abdullah bin Mas'ud, may Allah be pleased with him, said regarding the son from li'an that his inheritance will go to his mother.
That is, like the child of adultery, the father will not be his heir.