يَـٰٓأَيُّهَا ٱلنَّبِىُّ حَرِّضِ ٱلْمُؤْمِنِينَ عَلَى ٱلْقِتَالِ ۚ إِن يَكُن مِّنكُمْ عِشْرُونَ صَـٰبِرُونَ يَغْلِبُوا۟ مِا۟ئَتَيْنِ ۚ وَإِن يَكُن مِّنكُم مِّا۟ئَةٌۭ يَغْلِبُوٓا۟ أَلْفًۭا مِّنَ ٱلَّذِينَ كَفَرُوا۟ بِأَنَّهُمْ قَوْمٌۭ لَّا يَفْقَهُونَ
“O Prophet! Motivate the believers to fight. If there are twenty steadfast amongst you, they will overcome two hundred. And if there are one hundred of you, they will overcome one thousand of the disbelievers, for they are a people who do not comprehend. Now Allah has lightened your burden, for He knows that there is weakness in you. So if there are a hundred steadfast amongst you, they will overcome two hundred. And if there be one thousand, they will overcome two thousand, by Allah's Will. And Allah is with the steadfast.”
Surah al-Anfal was revealed on the plains of Badr regarding the battle and its aftermath.