It is narrated from Sayyiduna Abu Musa al-Ash'ari (may Allah be pleased with him) that whenever the Messenger of Allah (peace and blessings be upon him) feared a people, he would supplicate: 'Allahumma inna naj'aluka fi nuhurihim wa na'udhu bika min shururihim' (O Allah, we place You before them, and we seek refuge in You from their evil).
Hadith Referenceالمعجم الأوسط / باب الألف / 2531
Hadith Takhrij«أخرجه ابن حبان فى «صحيحه» برقم: 4765، والحاكم فى «المستدرك» برقم: 2644، والنسائي فى «السنن الكبرى» برقم: 8577، 10362، وأبو داود فى «سننه» برقم: 1537، والبيهقي فى «السنن الكبرى» برقم: 10433، 10434، 18531، وأحمد فى «مسنده» برقم: 20033، 20034، والطيالسي فى «مسنده» برقم: 526، والبزار فى «مسنده» برقم: 3137، 3136، والطبراني فى «الصغير» برقم: 996»