All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and Messenger.
We do not interpret dreams, so we cannot decisively assert anything about it. Nonetheless, we have previously clarified that Jinns may cause harm to humans, such as causing a miscarriage to a pregnant woman, but all this takes place by the permission of Allaah.
Please refer to Fatwa 28890. It is not unlikely that Jinns were a cause in what happened to you. The Ruqyah is the beneficial treatment – Allaah willing. Please refer to Fatwa 6029 about the Ruqyah as a treatment for miscarriage.
Allaah Knows best.