ورُوي عن الحسن أنه قال: "لا يحل السحر إلا ساحر".
[حسن] - [رواه بنحوه ابن أبي شيبة والخطابي]
It was narrated that Al-Hasan al-Basri (may Allah have mercy upon him) said: "No one can undo the magic except a magician."
Hasan/Sound. - [Ibn Abi Shaybah]
"Nushrah" means undoing magic, and the apparent meaning of Al-Hasan's statement is that it is absolutely prohibited, because no one can undo magic except someone who has knowledge of magic. His words, thus, refer to undoing magic with magic, which is a practice of the devil. Ibn Al-Qayyim spoke in detail about this issue, and the summary of what he said is that treating the enchanted person with permissible medicine and recitation of the Qur'an is something permissible; but treating him with similar magic is unlawful.