Surah Al-Anfal Verse 17 - English Translation by Muhammad Mahmoud Ghali
Surah Al-Anfalفَلَمۡ تَقۡتُلُوهُمۡ وَلَٰكِنَّ ٱللَّهَ قَتَلَهُمۡۚ وَمَا رَمَيۡتَ إِذۡ رَمَيۡتَ وَلَٰكِنَّ ٱللَّهَ رَمَىٰ وَلِيُبۡلِيَ ٱلۡمُؤۡمِنِينَ مِنۡهُ بَلَآءً حَسَنًاۚ إِنَّ ٱللَّهَ سَمِيعٌ عَلِيمٞ
So, you did not kill them, but Allah killed them; and in no way did you (i.e., the prophet) throw when you threw, but Allah threw, and that He might try the believers by a fair trial from Himself. Surely Allah is Ever-Hearing, Ever-Knowing