Allamah Ibn Hajr Asqalani (Allah have mercy on him) said,
‘There are two types of love of Allah, the requisite (fardh) and the desirable (mustaheb).
The requisite love of Allah is that which makes an individual follow the commandments of Allah, abstain from whatever displeases Him and accept His decree (taqdeer).
From this it can be deduced that the reason for an individual to commit a sinful activity either by committing the impermissible or by abandoning a required task is the deficiency of the love of Allah. That is, he gave preference to the following of his own lower desires than to the obedience of Allah.’
Fath ul-Bari fi Sharh Sahih al-Bukhari volume 1, page 46 via Majmua’ talifat e Muslih al Ummat ra, volume 5, page 80