What is the ruling of aborting a pregnancy due to a rape of a minor considering the phychological effects of the minor and mental torture and remembering the henious crime every time on seeing the child?

Scholars say that if the fetus has not acquired a soul (so let’s say first 12 weeks of pregnancy), then she can abort the fetus if keeping it will impose unbearable psychological hardships on her. But if the fetus as acquired a soul (such as after 16 weeks of pregnancy), then it’s haram to abort the fetus. She has to try to accept this trial and cope with it, and Allah will reward her.