Breastfeeding and pregnancy

Je

Any other pregnant mamas been told to stop breastfeeding? I am 20 weeks and 3 days and had my anatomy scan appointment today. I was told I needed to stop breastfeeding my almost 10 month old ASAP because it could cause early labor. Any body else been told this?