بسم الله الرحمن الرحيم
Magic is a reality and it has effect.
السحر حق عندنا وجوده وتصوره وأثره (شامى)
Hence there is no harm if someone believes in its existence and effects. However, until it is not known about magic with Shariah research that who did it, it cannot be said that so and so person has done magic.
Allah knows Best!
Darul Uloom Deoband