Question:
Is it permissible to treat magic with magic?
Answer:
No.
It is narrated from Ibn Mas’ud (may Allah be pleased with him):
إن الله لم يجعل شفاءكم حرم عليكم
“Indeed, Allah has not placed your cure in things that He has forbidden to you.”
Reference: Sahih al-Bukhari 248/6,247