Praise be to Allah.
1 – Seeking the help of the jinn or turning to them to fulfill one’s desires to cause harm or bring benefit is shirk or associating others in worship with Allah, because it is a kind of mutual benefitting whereby the jinn responds to the human’s requests and fulfills his needs in return for the human’s veneration of the jinn, turning to him and asking for his help to do what he wants.
Allah says (interpretation of the meanings):
“And on the Day when He will gather them (all) together (and say): ‘O you assembly of jinn! Many did you mislead of men,’ and their awliya (friends and helpers) amongst men will say: ‘Our Lord! We benefited one from the other, but now we have reached our appointed term which You did appoint for us.’ He will say: ‘The Fire be your dwelling place, you will dwell therein forever, except as Allah may will. Certainly your Lord is All-Wise, All-Knowing.’
And thus We do make the Zaalimun (polytheists and wrongdoers) awliya (supporters and helpers) of one another (in committing crimes), because of that which they used to earn.” [6:128]
“And verily, there were men among mankind who took shelter with the males among the jinn, but they (jinn) increased them (mankind) in sin and transgression.” [72:6]
If a human seeks the help of a jinn to cause harm to another person, or seeks his help for protection from the evil of a person whose evil he fears, all of this is shirk.
Whoever is like this, his prayer and his fasting are both invalid, because Allah says (interpretation of the meaning):
“If you join others in worship with Allah, (then) surely, (all) your deeds will be in vain, and you will certainly be among the losers.”
If a person is known for doing this, then the funeral prayer is not to be offered for him if he dies, his funeral is not to be attended, and he is not to be buried in the Muslim graveyard.
2 – The Standing Committee was asked a similar question, which said:
I would like to inform you that in Zambia there is a Muslim man who claims that he has jinn with him, and the people go to him and ask him to heal their diseases, and this jinn prescribes medicine for them. Is this permissible?
The answer is:
It is not permissible for this man to use the services of the jinn, and it is not permissible for the people to go to him, seeking treatment for their diseases through advice from the jinn, or to fulfill any needs in this manner.
Treating disease by means of human doctors and by using permissible medicines means that there is no need for that. This should be enough to free us from the control of these charlatans.
It was narrated in a saheeh hadeeth (authentic narration) that the Messenger (peace and blessings of Allah be upon him) said: “Whoever goes to a fortune-teller and asks him about something, his prayers will not be accepted for forty days.” [Muslim]
The four authors of al-Sunan, and al-Hakim in a saheeh hadeeth, narrated that the Prophet (peace and blessings of Allah be upon him) said: “Whoever goes to a fortuneteller and believes what he said has disbelieved in that which was revealed to Muhammad.”
This man and his companions from among the jinn are to be regarded as fortunetellers and soothsayers. It is not permissible to ask them anything or to believe them.
And Allah knows best.