His servants, while whatever punishments He afflicts them [with] (1) are due to their sins. A full discussion of this has been set out elsewhere (2).
Likewise concerning wisdom: Muslims unanimously agree that Allah Most High is characterized by wisdom, but they differ over how this is to be understood.
One group said: Wisdom refers to His knowledge of His servants’ actions and His bringing them about in the manner He willed. They affirmed nothing beyond knowledge, will, and power.
The majority of Ahl al-Sunnah and others said: Rather, He is wise in His creation and His command. Wisdom is not mere will, for if it were, everyone who exercised will would be wise; yet it is well known that will may be either praiseworthy or blameworthy. Rather, wisdom [entails] (3) the praiseworthy outcomes and beloved ends contained in His creation and command.
Affirming this wisdom is not the position of the Mu‘tazila and those among the Shia who agree with them alone. Rather, it is the position of the great majority of Muslim groups, including Quranic exegetes, jurists, hadith scholars, Sufis, theologians, and others. The leading jurists unanimously affirm wisdom and beneficial purposes in His revealed rulings. This is disputed (4) only by