Sahih al-Bukhari 6170
Book 78: Good Manners and Form (Al-Adab) · Narrated by Abu Musa
Arabic
حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا سُفْيَانُ، عَنِ الأَعْمَشِ، عَنْ أَبِي وَائِلٍ، عَنْ أَبِي مُوسَى، قَالَ قِيلَ لِلنَّبِيِّ صلى الله عليه وسلم الرَّجُلُ يُحِبُّ الْقَوْمَ وَلَمَّا يَلْحَقْ بِهِمْ قَالَ " الْمَرْءُ مَعَ مَنْ أَحَبَّ ". تَابَعَهُ أَبُو مُعَاوِيَةَ وَمُحَمَّدُ بْنُ عُبَيْدٍ.
English translation
Narrated Abu Musa:It was said to the Prophet; , "A man may love some people but he cannot catch up with their good deeds?" The Prophet (ﷺ) said, "Everyone will be with those whom he loves
Reference: Sahih al-Bukhari 6170, Book of Good Manners and Form (Al-Adab). English translation by Dr. Muhammad Muhsin Khan.