two categories:
If the healing recitations and invocations for protection have known meanings and contain words that Islam permits a person to utter when supplicating to Allah, remembering Him, addressing His creation, or the like, then they may be recited over the possessed person for healing and protection. For it is authentically reported of the Prophet, may Allah bless him and grant him peace:
“He permitted healing recitations so long as they involved no associating partners with Allah.”
He also said:
“Whoever among you can benefit his brother should do so.”
If, however, they contain forbidden words, such as words involving associating partners with Allah, or words of unknown meaning that might contain disbelief, no one may use them for healing recitations, incantations, or adjurations—even if they cause the jinn to leave the possessed person. For whatever Allah and His Messenger have forbidden brings more harm than benefit. This includes sīmiyā and other forms of magic. A magician who practices sīmiyā may attain some of his aims through it, just as a thief attains some of his aims through theft, a liar through lying and betrayal, and a polytheist through associating partners with Allah and disbelief. Yet even if these people attain some of their aims through such forbidden practices, those practices bring upon them harm in this world and the Hereafter far greater than whatever they have gained by attaining their aims.
Allah sent the messengers to secure and perfect benefits, and to eliminate and reduce harms. Thus, in everything Allah and His Messenger have commanded, the good outweighs the evil and the benefit outweighs the harm, even if people dislike it.
As Allah Most High says:
“Fighting has been prescribed for you, though you dislike it. Yet you may dislike something that is good