إِن تَسْتَفْتِحُوا فَقَدْ جَاءَكُمُ الْفَتْحُ ۖ وَإِن تَنتَهُوا فَهُوَ خَيْرٌ لَّكُمْ ۖ وَإِن تَعُودُوا نَعُدْ وَلَن تُغْنِيَ عَنكُمْ فِئَتُكُمْ شَيْئًا وَلَوْ كَثُرَتْ وَأَنَّ اللَّهَ مَعَ الْمُؤْمِنِينَ
“If you [pagans of Makkah] sought judgment, now it has come to you. And if you cease, it will be for your own good. But if you persist, We will persist. And your forces —no matter how numerous they might be— will not benefit you whatsoever. For Allah is certainly with the believers.”
Revealed about the Quraysh's du'a at the Ka'bah asking Allah to grant victory to the more honorable of the two armies.
Surah al-Anfal was revealed on the plains of Badr regarding the battle and its aftermath.