Having a miscarriage is painful in so many ways. There are no words that can make the pain better for that mom that lost a baby. You can just be there for her. And if you want to say something, make sure it's not something to make it worse.
Have you ever been in a situation where someone said the wrong things after a terrible loss?