Tafsir of Surah Aal-i-Imraan 3:166
﴿وَمَا أَصَابَكُمْ يَوْمَ الْتَقَى الْجَمْعَانِ فَبِإِذْنِ اللَّهِ وَلِيَعْلَمَ الْمُؤْمِنِينَ﴾
Translation of the meaning
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
English Translation - Noor International Center — v1.1.2 · QuranEnc.comThe words of the two imams are given in their original Arabic, verbatim, with references.
Shaykh al-Islam Ibn Taymiyyah
فإن الذي أصابهم من القتل والجراح والتمثيل والهزيمة: إذا كان بإذنه فهو خالق لأفعال الكفار ولأفعال المؤمنين.«مجموع الفتاوى» 14/384