Marijuana use

Erin
I use to be a heavy smoker, I've quit since finding out I'm pregnant! A friend of my SO has a girlfriend who said she smoked during her pregnancies and her doctor even prescribed it?!? I just can't believe this.. but she said she smoked during both pregnancies with no issues to her children. I'm not posting this so I can smoke while pregnant because I would never but has anyone heard of this?