The Messenger of Allah ﷺ supplicated against the Confederates, saying, "O Allah, Revealer of the Book, Swift in reckoning, defeat the Confederates. O Allah, defeat them and shake them."
دعا رسول الله ﷺ على الأحزاب فقال: اللهم منزل الكتاب، سريع الحساب، اهزم الأحزاب، اللهم اهزمهم وزلزلهم.
Bukhari narrated it in the Book of Tawhid (7489), and Muslim in the Book of Jihad (1741:21), both through the route of Ismail bin Abu Khalid, from Abdullah bin Abu Awfa, who related it.