Abu Musa Ashari reported,

The Prophet ﷺ, whenever he feared a people, would say, "O Allah, we place You before them and seek refuge in You from their evil."

Azami 13215

Sahih

عن عبد الله بن قيس (وهو أبو موسى الأشعري)

أن النبي ﷺ كان إذا خاف قوما قال: اللهم إنا نجعلك في نحورهم، ونعوذ بك من شرورهم.

الأعظمي 13215صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Ghafir
Section
His saying, "And Musa said, 'O Pharaoh, I am a messenger from the Lord of the worlds, bound not to'"
Numbering
Jami al-Kamil 13215 (2nd edition)
Azami 13215