Asim reported,

I heard Abu Tamimah relating from the man who rode behind the Prophet ﷺ, who said:The Prophet's ﷺ donkey stumbled, so I said, "May the devil perish."The Prophet ﷺ said, "Do not say, 'May the devil perish,' for when you say, 'May the devil perish,' he swells with pride and says, 'By my strength I brought him down.' But when you say, 'In the name of Allah,' he shrinks until he becomes as small as a fly."

Azami 13826

Sahih

عن عاصم قال

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

الأعظمي 13826صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Nas
Section
His saying, "Say, I seek refuge in the Lord of mankind, the Sovereign of mankind, the God of mankind, from the evil of the retreating whisperer"
Numbering
Jami al-Kamil 13826 (2nd edition)
Azami 13826