Magic In General And In Entertainment
It is the use of Magic which causes harm to other people and/or involves certain polytheistic acts in order to make that magic effective. Such magic should be considered as Haram as per Quran (7:33). However, there is no basis for considering movies and novels like harry potter Haram just because there is fake magic being shown in such movies/novels. The debate of Hurmat can arise in such movies/novels if they contain any immoral activity as mentioned in Quran (7:33). All such Ahadith are to be seen in the same context as provided by Quran. Please also refer to the following video from 31:42 to 35:35 https://youtu.be/ugIjFhS8MBM?t=1902