Canadian Imam Abu Ameenah Bilal Philips, who completed a PhD on Islamic exorcism at the University of Edinburgh, gave a lecture on deterring authentic demonic possession and how to attain a credible exorcism. During this talk, the Imam revealed that the Islamic Prophet Mohammad had been successfully freed from a demonic spell cast by a Jewish man in a far away village.
So destroy the charm. That’s what the Prophet PBUH did when he came under the influence, Ginn [spirits] influence of magic which affected him physically. So this is a form of the touch of Shatan, satanic touch, demonic touch, which didn’t affect his Revelation. Revelation which came to him but affects some of his own perception, thinking that he did things which he didn’t do, thinking that he didn’t do things which he had done, seeing things which are far away as if they’re close, things which are close as if they’re far away. This affected him in this way. And Allah sent angels to him and his dream and informed him that it was the work of a particular individual in Medina, a Jewish magician there by the name of Lubaid Ben Al-Aasim, who had prepared this charm and put it in a well and so the Prophet PBUH told Ali Bin Tali to go find it. Dig it up. Come back. Take it apart. And the two last verses of the Quran, two last chapters, were revealed and they were read for breaking spell. Video
Learn more about Satanic, demonic possession at Islam Q&A. This site, a resource of Canadian Islamic scholars, is an academic, educational, da‘wah website, which offers advice and academic answers based on evidence from religious texts in an adequate and easy-to-understand manner. These answers are supervised by Shaykh Muhammad Saalih al-Munajjid (may Allah preserve him).
How can you tell if someone is possessed or if magic was done to them?
How do you remove it?
People who have had experience with such situations have related that the following are among the signs of a person who is possessed by jinn (or Satan).
Strong repulsion when hearing Quraan or Aathaan (call for prayers).
Inability to have sexual intercourse with one’s spouse.
Frequent miscarriage for pregnant women.
Thinking or imagining one has done something when in reality one has not.
As for curing this condition, the following steps are recommended:
Removing the elements of magic, as was done by the Prophet when he was struck by black magic by a Jewish man called Lubaid Ben Al-Aasim.
Eating seven Aaliya Al-Barniy dates (among the dates of Al-Madinah) first thing in the morning; if not possible, any dates will suffice, by the will of Allaah.
Cupping–removing excess blood.