All praise is due to Allah, and may peace and blessings be upon the Messenger of Allah.
Seeking the help of jinn for treatment, locating magic spells, or recovering lost property is prohibited according to the majority of Islamic scholars. This is because it may lead to shirk and attachment to the jinn. Even if a jinni claims to be Muslim, it is impossible to verify whether it is telling the truth or to know its true condition and intentions.
Allah Almighty says:
“And there were men from mankind who sought refuge with men from the jinn, so they increased them in burden.” [Al-Jinn: 6]
Shaykh Ibn Baz (may Allah have mercy on him) was asked about using Muslim jinn for treatment, and he said:
“A sick person should not use the jinn for treatment or ask them for help. Rather, they should consult well-known and trustworthy doctors. As for resorting to the jinn, that should not be done, because it is a means that may lead to worshipping them and believing them.”
Seeking the help of jinn in these matters is not considered a legitimate form of cooperation among Muslims, because the true condition and intentions of the jinn are unknown. Such practices may gradually lead a person to become attached to them and depend on them for assistance.
Some scholars have mentioned the permissibility of certain forms of interaction with jinn, including Shaykh al-Islam Ibn Taymiyyah (may Allah have mercy on him). However, this opinion is not unrestricted, and he warned against using them to obtain information about matters that are hidden from human knowledge.
The majority of scholars prohibit consulting someone who seeks the help of jinn to discover the location of magic spells, stolen property, or hidden objects. They consider such practices to be among the activities of soothsayers and fortune-tellers.
The Permanent Committee for Islamic Research and Ifta stated in its fatwas that someone who claims to know the location of missing property through the jinn, even if they pretend to recite the Quran and Hadith, must not be visited or believed.
Some scholars distinguish between a soothsayer, who reports knowledge of future unseen matters, and someone who reports past or present hidden matters. According to their terminology, the latter does not necessarily fall under the technical definition of soothsaying. However, this distinction does not make seeking the help of jinn permissible.
Conclusion: The stronger opinion in this fatwa is that seeking the help of jinn is prohibited, whether they claim to be Muslim or otherwise, in order to block the means that may lead to shirk and attachment to them.
Magic should be treated through legitimate Islamic ruqyah, authentic supplications transmitted from the Prophet ﷺ, and permissible practical means, without seeking the help of jinn or asking them about hidden matters.
And Allah knows best.