Is that the Waliy is

A: The contract should be renewed by the religious judge, for the person who raised this young woman is a charitable person who is to be rewarded for his act, but he is not her Waliy. He should also (Part No. 18; Page No. 159) remove her name from his identity card, for she is not his real daughter. Any children born to her before the renewal of her marriage contract shall be related to their parents, since it was assumed that they have entered into a doubtful marriage. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.