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]. (TH)
App reference (TH): Book 8, Hadith 26 (TH)
Arabic/English book reference (TH): Book 8, Hadith 981 (TH)