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 is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
It might be that what you see is just a bad dream and it might also that you are possessed by the jinn. Therefore, we advise you to be steadfast in reciting the legislated mention of Allaah, especially the mention when going to bed and when waking up from sleep.
For more benefit on how to protect oneself from jinn, please refer to Fatwa 89035, and Fatwa 88660on the permissibility of performing Ruqyah and how to perform it, and Fatwa 91915 on how to protect oneself by reciting the legislated mention of Allaah.
Allaah Knows best.