of Judgment showing affection to those who oppose Allah and His Messenger.”
Affection is an act of the heart. Faith in Allah necessarily entails affection for Him and His Messenger, which is incompatible with affection for those who oppose Allah and His Messenger. Whatever contradicts faith necessarily entails resolve and punishment because of the absence of faith. For whatever contradicts faith—such as doubt, turning away, apostasy of the heart, and hatred of Allah and His Messenger—necessarily entails blame and punishment, since it involves abandoning an obligation that Allah has commanded His Messenger to fulfil. Whoever abandons it therefore deserves blame and punishment. The greatest obligation is faith in the heart; whatever contradicts it necessarily entails blame and punishment for abandoning this obligation.
This differs from what deserves blame because it is prohibited, such as indecency and wrongdoing. It is concerning such things that the discussion of contemplating and intending an act arises, provided that this does not contradict the foundation of faith, even though it contradicts its perfection.
Indeed, performing acts of obedience itself involves refraining from sins, and refraining from sins itself involves performing acts of obedience. This is why prayer restrains one from indecency and wrongdoing. Prayer thus comprises two things:
First, it restrains one from sins. Second, it includes remembrance of Allah, which is the greater of the two. The remembrance of Allah within prayer is greater than its restraining one from indecency and wrongdoing. A fuller discussion of this belongs elsewhere.