Surah Ali 'Imran, Ayah 166
Quran 3:166 · Family of Imran · Madani · Para 4 · Page 72
وَمَاۤ اَصَابَكُمْ یَوْمَ الْتَقَی الْجَمْعٰنِ فَبِاِذْنِ اللّٰهِ وَلِیَعْلَمَ الْمُؤْمِنِیْنَ ۟ۙ
Transliteration
Wama asabakum yawma iltaqaaljamAAani fabi-ithni Allahi waliyaAAlamaalmu/mineen
Saheeh International
And what struck you on the day the two armies met [at Uḥud] was by permission of Allāh that He might make evident the [true] believers
Al-Mukhtasar fi Tafsir
The death, wounds and defeat you suffered on the day of Uḥud, when your army and the army of the idolaters met, was by the permission and decree of Allah, with far-reaching wisdom behind it: to make it clear who truly had faith.
Tafsir Ibn Kathir (abridged)
Explains 3:165–3:168 together — read it on 3:165