Sayyiduna Abu Musa (may Allah be pleased with him) reports: When the Messenger of Allah (peace and blessings be upon him) feared something from a people, he would say: "«اللّٰهُمَّ إِنَّا نَعُوذُ بِكَ مِنْ شُرُورِهِمْ وَنَدْفَعُكَ فِي نُحُورِهِمْ» "O Allah! We seek refuge in You from their evils and we put You against them."
Related hadith on this topic