Amr bin As reported,

The Prophet ﷺ, when he entered the mosque, would say, "I seek refuge in Allah the Magnificent, in His Noble Face, and in His Eternal Sovereignty, from the accursed Satan."He asked, "Is that all?"I said, "Yes."He said, "When he says that, Satan says, 'He is protected from me for the rest of the day.'"

Azami 12830

Hasan

عن عمرو بن العاص

عن النبي ﷺ أنه كان إذا دخل المسجد قال: أعوذ بالله العظيم، وبوجهه الكريم، وسلطانه القديم، من الشيطان الرجيم. قال: أقط. قلت: نعم. قال: فإذا قال ذلك قال الشيطان: حفظ منى سائر اليوم.

الأعظمي 12830حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Muminun
Section
His saying, "And say, My Lord, I seek refuge in You from the incitements of the devils, and I seek refuge in You, my Lord, lest they be present with me"
Numbering
Jami al-Kamil 12830 (2nd edition)
Azami 12830