In the Quran, Allah mentions eight types of people whom He loves.
ۛ
وَأَحْسِنُوٓا۟ ۛ إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُحْسِنِينَ
And do good, for Allah certainly loves the good-doers.
Alquran 2.195
ٱللَّهُ ۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلتَّوَّٰبِينَ
ٱلتَّوَّٰبِينَ وَيُحِبُّ ٱلْمُتَطَهِّرِينَ ٢٢٢
Surely Allah loves those who always turn to Him in repentance
and those who purify themselves.”
Alquran 2.222
فَإِنَّ ٱللَّهَ يُحِبُّ ٱلْمُتَّقِينَ ٧٦
Alquran 3.76
وَٱللَّهُ يُحِبُّ ٱلصَّـٰبِرِينَ ٦
And Allāh loves the steadfast.
Alquran 3.146
إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُتَوَكِّلِينَ
Surely Allah loves those who trust in Him.
Alquran 3.159
إِنَّ ٱللَّهَ يُحِبُّ ٱلَّذِينَ يُقَـٰتِلُونَ فِى سَبِيلِهِۦ
Surely Allah loves those who fight in His cause
Alquran 61.4
إِلَيْهِمْ ۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُقْسِطِينَ
Surely Allah loves those who are fair.
Alquran 60.8
it is important for us to try to embody these qualities in our lives to earn Allah's love and blessings.
Volume 4, Book 54, Number 431:
Narrated Abu Huraira:
The Prophet said, "If Allah loves a person, He calls Gabriel saying, 'Allah loves so and-so; O Gabriel! Love him.' Gabriel would love him and make an announcement amongst the inhabitants of the Heaven. 'Allah loves so-and-so, therefore you should love him also,' and so all the inhabitants of the Heaven would love him, and then he is granted the pleasure of the people on the earth."