Qur'an, Al-A'raf, Surah 7:199-201
Hold to forgiveness; command what is right; But turn away from the ignorant. If a suggestion from Satan assail thy (mind), seek refuge with Allah. For He heareth and knoweth (all things). Those who fear Allah, when a thought of evil from Satan assaults them, bring Allah to remembrance, when lo! They see (aright)!