Undoing witchcraft by using witchcraft by getting close to the jinn by means of offering sacrifices and other kinds of acts of worship is haram because this is a devilish action, and it is major shirk and we must avoid it. Similarly it is not permissible to treat the problem by asking fortune-tellers, soothsayers and magicians for help and doing what they say, because they are not believers and they are liars and evildoers who claim to have knowledge of the unseen and who deceive people.
It was narrated in a saheeh report that the Messenger of Allaah (peace and blessings of Allaah be upon him) said: �Whoever goes to a fortune-teller and asks him about something, his prayer will not be accepted for forty days.� Narrated by Muslim.
And it was narrated by the authors of al-Sunan and by al-Haakim, who classed it as saheeh, that the Prophet (peace and blessings of Allaah be upon him) said: �Whoever goes to a soothsayer and believes what he says has disbelieved in that which was revealed to Muhammad.�
The practitioners of witchcraft are kaafirs and it is not permissible to go to them or to ask them about anything or to believe them.
It was narrated in a saheeh report that the Messenger of Allaah (peace and blessings of Allaah be upon him) was asked about nashrah. He said: �It is the work of the Shaytaan.� Narrated by Imam Ahmad in his Musnad, 3/294; Abu Dawood in his Sunan, 3868, with a jayyid isnaad. Nashrah means undoing witchcraft by means of witchcraft. What the Prophet (peace and blessings of Allaah be upon him) meant by nashrah is that which the people of the Jaahiliyyah used to do, when they would ask the practitioners of witchcraft to undo spells, or undoing witchcraft by means of a spell from another practitioner of witchcraft.
Narrated by Abu Dawood and by the four authors of al-Sunan; classed as saheeh by al-Haakim who narrated that the Prophet (peace and blessings of Allaah be upon him) said: �Whoever goes to a fortune-teller or soothsayer and believes what he says has disbelieved in that which was revealed to Muhammad (peace and blessings of Allaah be upon him).�
And it was narrated that �Imraan ibn Husayn (may Allaah be pleased with him) said: The Messenger of Allaah (peace and blessings of Allaah be upon him) said: �He does not belong to us who observes bird omens or has that done for him, or who seeks divination or who has that done for him, or who practices witchcraft or has that done for him. Whoever goes to a soothsayer and believes what he says has disbelieved in that which was revealed to Muhammad (peace and blessings of Allaah be upon him).� Narrated by al-Bazzaar with a jayyid isnaad.