Hadith on Love: What if he loves people but is not as good as them?

Abdullah ibn Mas’ud reported: A man came to the Messenger of Allah, peace and blessings be upon him, and he said, “O Messenger of Allah, what do you say about a man who loves a people but his deeds do not compare to theirs?” The Prophet said, “A person will be with those whom he loves.”

Source: Ṣaḥīḥ al-Bukhārī 5817, Ṣaḥīḥ Muslim 2641

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

 عن عبد الله بن مسعود رضي الله عنه جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ يَا رَسُولَ اللَّهِ كَيْفَ تَقُولُ فِي رَجُلٍ أَحَبَّ قَوْمًا وَلَمْ يَلْحَقْ بِهِمْ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْمَرْءُ مَعَ مَنْ أَحَبَّ

5817 صحيح البخاري كتاب الأدب باب علامة حب الله عز وجل

2641 صحيح مسلم كتاب البر والصلة والآداب باب المرء مع من أحب