Qur’an says:
مَآ أَنتَ بِنِعْمَةِ رَبِّكَ بِمَجْنُونٍ
By the grace of your Lord you are not a madman, [68:2]
نَّحْنُ أَعْلَمُ بِمَا يَسْتَمِعُونَ بِهِ إِذْ يَسْتَمِعُونَ إِلَيْكَ وَإِذْ هُمْ نَجْوَىٰ إِذْ يَقُولُ ٱلظَّالِمُونَ إِن تَتَّبِعُونَ إِلاَّ رَجُلاً مَّسْحُوراً
We are quite aware what they really wish to hear when they listen to you, and what they say when they converse in private. These wrongdoers say to one another: “The man you follow is surely bewitched”[17:47]
Please correct the grammatical mistake in the heading. It should be DID SIHIR AFFECT PROPHET MUHAMMAD (saw).