Answered by Sayyidi Habib Umar bin Hafiz (may Allah protect him and benefit us by him)
How can I rid myself of satanic whisperings (waswasah) and evil thoughts?
You do this firstly by ignoring them, seeking refuge in Allah from them and pleading with Him to rid you of them. You must then make Allah’s remembrance dominate your heart by striving to be present and focusing your thoughts on the meaning of the remembrance and the greatness of the One Whom you are remembering. Continue reading On Removing Waswasah and Evil Thoughts