Al-Albani: I do not know a cure for magic apart from the legislated ruqyah and recitation of the Quraan, and to seek shelter and protection with Allaah the Mighty and Majestic, earnestly imploring Him to cure the afflicted person from it.
As for going to soothsayers or fortune-tellers to try to discover who the person who performed the magic is and what type of magic was used in order to be able to remove it and so on, then along with the fact that this does not benefit it is also a use of means that is not legislated.
Indeed, such means may be polytheistic due to the incantations in some of them whose meaning is not [even] known. And they may also contain [phrases which involve] seeking refuge with the devils whose names we do not know–the only ones who know their names are these imposters [Dajjaals] who seek the aid of their companions from the Jinn, as the Lord of all Creation said, “And verily, there were men among mankind who took shelter with the masculine among the jinns, but they increased them [mankind] in sin and disbelief.” [Jinn 72:6]
As for that which is connected to the one possessed or afflicted with the Evil Eye … then the one who has been afflicted with the Evil Eye has a cure mentioned in Al-Muwatta and other than it. [Which is that] the one who is thought to have [most likely] given the Eye and who is then known is brought and told to perform ablution. The water from his ablution is then taken and wiped on the limbs of the afflicted person. This is a legislated means for his cure.
There may be further details in the hadith which I do not recall right now. This is present in Al-Muwatta and others from the Sunan collections.
As for the one possessed by a Jinn, then his cure is through recitation of verses from the Noble Quraan by a righteous Muslim well-known for his righteousness. This benefits on many occasions.
This is the answer I have to this question.
Fatwaawaa Jeddah, 21.