Abu Musa Al-Ashari (May Allah be pleased with him) reported:
When the Messenger of Allah (ﷺ), feared mischief from a people, he would supplicate: "Allahumma inna naj'aluka fi nuhurihim, wa na'udhu bika min shururihim (O Allah! We ask You to face them, and seek Your Protection against their evil."[Abu Dawud and An- Nasa'i]. (IT)
App reference (IT): Book 8, Hadith 26 (IT)
Arabic/English book reference (IT): Book 8, Hadith 981 (IT)