Is the Salah of a person who consults a diviner accepted?

A: You have done well by treating her with Qur’an and Ruqyah (Qur’an and prescribed supplications recited over the sick seeking healing). However, it is Haram (prohibited) for the stranger who treats her with Ruqyah to be alone with her (Khulwah). It is also Haram for her to expose any part of her body in front of him, or for him to put his hand on her. If you treat her yourself with Ruqyah, or one of her Mahrams (unmarriageable relatives) undertakes this, it would be best. We also advise that you take her to a hospital to be treated by a professional psychiatrist.As for taking her to sorcerers for treatment, this is forbidden, as the Prophet (peace be upon him) stated, “Whoever goes to a fortuneteller and asks him about something, his Salah (prayer) will not be accepted for forty nights.” (Part No. 1; Page No. 254)  Narrated by Muslim in his Sahih. The Prophet (peace be upon him) also stated, “Whoever goes to a soothsayer or a fortuneteller and believes what he says, has disbelieved in what was revealed to Muhammad.” (peace be upon him). May Allah guide us to follow the truth, adhere to it and avoid sin.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.