It is narrated from Hazrat Abu Saeed (may Allah be pleased with him) that on the day of the Battle of the Trench, we submitted in the presence of the Messenger of Allah, "O Messenger of Allah! Our hearts have leapt up to our throats; if there is any supplication to recite, please tell us." The Prophet (peace and blessings be upon him) said, "Yes! Recite this supplication: O Allah! Conceal our faults and replace our fear with security." After that, Allah sent a wind upon the enemies and caused them to be defeated.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 10996
Hadith Gradingحکم دارالسلام:إسناده ضعيف، وفيه سقط، فربيع: هو ابن عبدالرحمن بن أبى سعيد الخدري، يروي عن أبيه عن جده، وفي الباب فى الدعاء عن ابن عمر سلف مطولا، برقم:4785 بإسناد صحيح