The Prophet sent ‘Ali ibn Abi Talib to go and fetch the charm, which had 11 knots tied on to it. Jibreel A.S came to him and revealed Al mu’awwidhatayn (المعوذتان) (Surahs Al-Falaq and An-Naas) then said to him, “Surely it was a Jew who cast this spell on you and the magical charm is in a certain well This spell physically agitated the Messenger of Allah ﷺ, he was losing sleep, some narrations say that Aisha RA narrated that he thought he had done something he hadn’t done it, or he did something and thought he hadn’t done it.
The Jews used these to cast a spell of black magic on Allah’s Messenger ﷺ they made some kind of contraption tied knots on it and put it in the bottom of the well (well of Dharwan- famous well in Madinah) underneath a rock.
The Messenger of Allah ﷺ had a Jewish servant boy he was approached by the Jew and was paid to help the magician, he stole a comb of the Prophet ﷺ and gave them some fallen hair from the Prophet ﷺ that was stuck in the teeth of the comb. Zayd ibn Arqam reported that a Jew by the name Labid bin Al-A’sam, cast a magical spell on the Prophet ﷺ.
Why Was It Revealed? : The Messenger of Allah ﷺ was affected by black magic which led to the revelation of not just Surah Falaq but also Surah Nas, the 114th Surah in the Quran.