Hazrat Moulana Muhammad Ilyaas (rahmatullahi ‘alaih) once mentioned:
The sign of true Imaan within a person is that he begins to find total pleasure and comfort in the things that are pleasing to Allah Ta‘ala and His Rasul (sallallahu ‘alaihi wasallam) and he finds total displeasure and discomfort in the things that are displeasing to Allah Ta‘ala and His Rasul (sallallahu ‘alaihi wasallam). Just as pain is felt by the strike of a sword, similarly pain is perceived by the poke of a needle. Just as Allah Ta‘ala and His Rasul (sallallahu ‘alaihi wasallam) become displeased with major sins such as kufr and shirk, similarly they become displeased with the minor sins committed by the servants. We should therefore hate sinning and feel pain when we commit sins. (Malfoozaat Hazrat Moulana Muhammad Ilyaas (rahmatullahi ‘alaih) pg. 123)