Hadithcore
Mishkat al-Masabih, 2426

‘Abdallah b. Abu Aufa said that God’s messenger invoked a curse on the polytheists at the battle of the Confederates, saying, “O God, who have sent down the Book and are quick to take reckoning; O God, rout the Confederates, rout them and convulse them.” (Bukhari and Muslim.)

وَعَنْ عَبْدُ اللَّهِ بْنِ أَبِي أَوْفَى قَالَ: دَعَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَوْمَ الْأَحْزَابِ عَلَى الْمُشْرِكِينَ فَقَالَ: «اللَّهُمَّ مُنْزِلَ الْكِتَابِ سَرِيعَ الْحِسَابِ اللَّهُمَّ اهْزِمِ الأحزابَ اللهُمَّ اهزمهم وزلزلهم»

References1 variant
In-Book Reference
Book 9, Hadith 196