Ibn Qayyim (may Allah have mercy on him) said that there are 10 things that bring about the love of Allah SWT:1) Recitation of the Qur’an with reflection and with understanding of its meanings.
2) Seeking closeness to Allah by performing voluntary deeds after having performed obligatory ones, this leads one to the highest levels of love.
3) Remembering Allah during every situation, with one’s time, heart and deeds. One’s share of that love is to the degree of one’s share in that remembrance.
4) Preferring what Allah loves to what you love, when your desires are strong.
5) Allowing your heart to reflect on Allah’s names and attributes.