Unfortunately there are many MILs , Husbands and even own mothers who say such things.
Anyway , I think that you friend should just ignore and enjoy her baby. Words from these people should not spoil the rahmat and happiness that Allah has send in the form of daughter to her.