Al-Sha'bi (may Allah have mercy on him) said that when the li'an is set aside, the child will belong to the father.