Surah Al-A'raf 7:201
إِنَّ ٱلَّذِينَ ٱتَّقَوْا۟ إِذَا مَسَّهُمْ طَـٰٓئِفٌ مِّنَ ٱلشَّيْطَـٰنِ تَذَكَّرُوا۟ فَإِذَا هُم مُّبْصِرُونَ
Indeed, those who fear Allāh - when an impulse touches them from Satan, they remember [Him] and at once they have insight.
Translation: Saheeh International
Tafsir
Truly the God-fearing when a visitation from Satan touches them befalls them tayfun a variant reading has tā’ifun that is when something of the sort overcomes them they remember God’s punishment and His reward and then see clearly distinguishing the truth from what is other than it and so they return to God.
Excerpt from Tafsir al-Jalalayn, commentary on 7:201, via Quran.com. The reader has the full commentary and 9 more tafsirs.