Question: There was a disagreement between two people over a religious matter. One of them said that they had heard that it is not a problem if someone goes to see a doctor to treat their illness, and if they are prescribed an ointment, a syrup, cauterization, or Hijaamah (cupping), they can use any one of these. They claimed that these things can be used, even if they are prescribed by a sorcerer as long as the treatment is Mubaah (permissible), because deeds are judged by intentions.
The other person disagreed, as they believed that consulting those who are knowledgeable in sorcery and trickery was nothing other than Kufr (disbelief) or a means of nullifying one’s good deeds, regardless of whether the treatment prescribed is Mubaah or not, because the Prophet (peace be upon him) said, Anyone who resorts to a soothsayer or a diviner and believes what they say has disbelieved in what was revealed to Muhammad. They maintained that if someone who is ill consults a soothsayer – even if they do not believe what they say – their Salaah (Prayer) will not be accepted for forty days, and this means that their good deeds will also not be accepted for forty days. We urgently need a Fatwaa from you to resolve this problem.
Answer: Going to soothsayers and diviners and the like, and seeking their help is not permissible, and believing in what they say is an even greater sin, as the Prophet (peace be upon him) said… read more here.