Allah said: "surely Allah loves those who turn much (to Him), and He loves those who purify themselves". (2:222)

Allah said: "…and do good (to others); surely Allah loves the doers of good". (2:195)

In the Qur'an Allah says that He does not love those who reject Him (3:32), does not love those who are transgressors (2:57, 140, 5:87, 7:55), does not love those who are evil-livers (5:64), does not love evil talk (4:148) and others. In all these cases love is connected to the deeds of a person. At the same time Allah does not deprive them of anything in this life. You will not find that all good people are rich and all sinners are living in poverty and a wretched life. Allah gives a person life-long opportunity to turn away from the life of sin and disobedience and receive His forgiveness. Conversely, Allah says, "Say, if you love Allah, obey me (Muhammad), Allah will love you and forgive you your sins, Allah is Forgiving and Merciful" (3:31). If you love Allah show it in your conduct and obey Allah and His Messenger, for obedience of His Messenger is the obedience of Allah (4:80). It means our expression of love is in obedience.