Abu Hurairah reported,

The Prophet ﷺ said regarding the Dam, "They dig at it every day until, when they are about to break through, the one in charge of them says, 'Go back, you will break through tomorrow.' Then Allah restores it to a state stronger than it was. When their appointed time arrives and Allah wills to send them forth against mankind, the one in charge of them says, 'Go back, you will break through tomorrow, if Allah wills,' making the exception. They return and find it just as they left it, so they break through and emerge upon the people. They drink up the waters, and people flee from them. They shoot their arrows into the sky, and the arrows return stained with blood. They say, 'We have overcome those on earth and triumphed over those in the heavens,' out of harshness and arrogance. Then Allah sends upon them a worm in the napes of their necks, and they perish. By the One in whose hand is the soul of Muhammad, the beasts of the earth will grow fat and frisky and thrive in plenty from their flesh."

Tirmidhi 3153

Sahih

حدثنا محمد بن بشار وغير واحد المعنى واحد واللفظ لابن بشار قالوا حدثنا هشام بن عبد الملك حدثنا أبو عوانة عن قتادة عن أبي رافع من حديث

أبي هريرة

عن النبي ﷺ في السد قال يحفرونه كل يوم حتى إذا كادوا يخرقونه قال الذي عليهم ارجعوا فستخرقونه غدا فيعيده الله كأشد ما كان حتى إذا بلغ مدتهم وأراد الله أن يبعثهم على الناس قال الذي عليهم ارجعوا فستخرقونه غدا إن شاء الله واستثنى قال فيرجعون فيجدونه كهيئته حين تركوه فيخرقونه فيخرجون على الناس فيستقون المياه ويفر الناس منهم فيرمون بسهامهم في السماء فترجع مخضبة بالدماء فيقولون قهرنا من في الأرض وعلونا من في السماء قسوة وعلوا فيبعث الله عليهم نغفا في أقفائهم فيهلكون فوالذي نفس محمد بيده إن دواب الأرض تسمن وتبطر وتشكر شكرا من لحومهم

الترمذي 3153صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Kahf
Numbering
Darussalam 3153
Tirmidhi 3153