Yes, Hanibal has some good points. The child will be a *******, since the parents weren't married, from what I understand. It will be an unhappy life.
You know how our people are, even if the children are innocent, it's their own parents who made mistakes, in later life, people always blame or punish the children for the mistakes of their parents.
My parents often argued with many family members, not everyone in my family likes us. We, the children didn't argue with the Aunties and Uncles, yet often we were mistreated by some of the family members who had had arguments with our parents, while we the children had never gotten involved in those arguments. (since last year or so, I've been opening my mouth now though, I'm tired of people who claim they are like saints and do even worse things than my parents or me)
Your friend has done something which is even more worse, sleeping with a male without marriage. People don't even let me forget that my parents once argued with them, while your friend hasn't argued with someone, but done something more worse, sex without marriage. This child of your friend will definitely hear for the rest of its life what it's mother did. There can be no happiness for either the mother or the child.
I'll tell you something else. I ran away to get a divorce. I went to a womens shelter place. No males allowed there. Nobody is allowed to go anywhere in the evenings. There are very strict rules there. It's for helping and protecting females of different cultures and problems. I have proof of where Iwas, every day, I can easily proof of where I was every year of my life, even when I ran away from my own family. I only took my own children and a female teacher from my school drove me to a safe place for females. I did nothing haram. I needed that divorce. My parents knew that I'd rather die than being given back to my cousin. I had begged and cried not to give me to him again. They didn't listen. It was the second time I had run away from him to my parents home. It was the second time I had begged not to give me to him again. Nobody cared about me, only about what people would say. So when my cousin came with my mothers sister to take me back with him again, I saw no other option than running away from my parents too, since they were forcing me to go back to that horrible marriage. I did nothing wrong. I was never with a male without marriage. But nobody looks at the facts. I have a very bad name. One I have, because I'm divorced. It's gotten worse because I had ran away even from my parents, I was completely alone without any family for the first time. But despite the fact that I had valid reasons for doing that, despite the fact that I can easily proof where I was every day and with whom I was every day, still people tell lies against me. Life isn't always easy. My family is nowadays denying they forced me in marriage to my cousin, they are also denying that they had forbidden a divorce. So everyone believes them. My family always acts 'holy' in front of their friends. It's been years now, but everyone is always accusing me of things I have never even done. Sometimes my children are even mistreated.
I have done nothing haram, but yet, every one is nasty towards me and my children, just because I'm not exactly living my life as every other Pakistani.
Your friend on the other hand, did do something forbidden in Islam, she had no reasons for having sex before marriage, nobody forced her. It was very haram. Nobody will ever treat her normal, nobody will ever let her have a nice life. Her child will be the victim of it too, even though it is innocent.
What can she do? Allah knows.