Salaam,
I viewed this post many times and was hesistant to respond. The only thing I can add is to ask your friend to speak to a pious Muslim that she respects. As an older woman I have to speak from my heart. A child is a joy. The preganancy may be a gift to her. This child may bring Love. The preganacy may be a test for her husband. Remember Allah subhana talla provides. I cannot help but write preganacy is a miracle.
Please forgive me I am no scholar but a mother and I have been blessed. Place her faith and trust in Allah subhana talla. I have and continue to make dua for your friend.