The Messenger of Allah ﷺ supplicated against the Confederates, saying, "O Allah, Revealer of the Book, Swift in reckoning, defeat the Confederates. Defeat them and shake them."
حدثنا وكيع ويعلى هو ابن عبيد قالا ثنا ابن أبي خالد وهو إسماعيل قال سمعت
دعا رسول الله ﷺ على الأحزاب فقال اللهم منزل الكتاب سريع الحساب اهزم الأحزاب اهزمهم وزلزلهم
Its isnad is sahih, its narrators are trustworthy and well known, and the hadith was narrated by Bukhari 7/406, no. 4115, Fath, in the chapters on military expeditions, the battle of the Trench, and Ibn Majah 2/935, no. 2796, in the chapters on jihad, fighting in the path of Allah the Exalted, and Abdul-Razzaq 5/250, no. 9516, in the chapters on jihad.