Allah Most High says:
“He enjoins upon them what is right, forbids them what is wrong, makes lawful for them wholesome things, and prohibits for them foul things.”
[Surah al-A‘rāf: 107]
This indicates that an act is in itself right or wrong, and that food is wholesome or foul. If entities and acts had no attributes except by virtue of commands and prohibitions applying to them, the meaning would amount to: “He commands them to do what He commands them to do, forbids them what He forbids them, makes lawful for them what He makes lawful for them, and prohibits for them what He prohibits for them.” Allah is far above such speech.
The same applies to His saying, Most High:
“Do not approach unlawful sexual intercourse. It is truly an obscenity and an evil way.”
[Surah al-Isrā’: 32]
And He says:
“Indeed, Allah does not command obscenity.”
[Surah al-A‘rāf: 28]
There are many similar examples (1).
[A Section from the Rāfidī’s Discussion of the Ahl al-Sunnah’s Doctrine of Divine Decree: It Entails Attributing Foolishness to Allah Most High, Because He Commands the Unbeliever to Believe but Does Not Will It from Him]
(Section).
The [Rāfidī] Imāmī (2) said:
“Another implication is that foolishness (3) must be attributed to Allah Most High, because He commands the unbeliever to believe but does not will it from him, and forbids him to disobey even though He has willed it from him (4). Every rational person attributes foolishness to one who commands (5) what he does not will (6) and forbids what he does will (7). Exalted is Allah above that.”