.....scholars mention that the recitation of the Mu’awwazatayn (the two Quls: al-Falaq and al-Nas) is very beneficial in the removing of and protection from black magic. One should make a habit of reciting these especially when retiring to bed and after the Fardh prayers. There are many virtues of these two Surahs mentioned in the Ahadith.
Sayyida A’isha (Allah be pleased with her) narrates that whenever the Messenger of Allah (Allah bless him & give him peace) would become ill, he would recite the Mu’awwizat (Surah al-Falaq & Surah an-Nas) and blow over himself. When his illness was aggravated, I used to recite these two Surahs (and blow my breath) over him and make him rub his body with his own hand, for its blessings. (Sahih al-Bukhari, no. 4728)
Apart from these two Surahs, the recitation of Surah al-Fatiha, Ayat al-Kursi, and last two verses of Surah al-Baqarah is also very beneficial.
Moreover, the famous Tibi’i Ka’b al-Ahbar (Allah be pleased with him) states: “Had it not been for the phrases that I recite regularly, the Jews would have turned me into a donkey (m: out of black magic). It was said to him: “What are these phrases?”
(Transliteration): “A’uzu bi wajhillah al-Adhim alladhi laysa shay’un a’dhamu minhu wa bi kalimatillah at-tammati allati la yujawizuhunna barrun wa la fajir wa bi asmaillah al-husna kulliha ma alimtu minha wa ma lam a’lam min sharri ma khalaqa wa bara’a wa zara’a.”
Translation: “I seek the protection of Allah the Great; He, than whom there is nothing greater.
And I seek the protection of the perfect words of Allah which no man, virtuous or evil, can even transcend; and I seek the protection of all the beautiful names of Allah, those of them which I know and those which I do not know, from the evil of everything He (Allah) created, to which He has given existence, and which He has spread (over the earth or universe).”
(Recorded by Imam Malik in his al-Muwatta, 2/541, no. 2737)
Thus, the above supplication can be very beneficial in the removing of the effect of black magic.
Also, the consuming of Ajwa dates has been prescribed by the Messenger of Allah (Allah bless him & give him peace) as a remedy for black magic.
Amir ibn Sa’d narrates from his father that the Messenger of Allah (Allah bless him & give him peace) said: “He who eats seven Ajwa dates every morning, will not be affected by poison or magic on the day he eats them.” (Sahih al-Bukhari, no. 5130)