Sahih Bukhari · Hadith 6240
Good Manners and Form (Al-Adab) - كتاب الأدب
حدثنا أبو نعيم، حدثنا سفيان، عن الأعمش، عن أبي وائل، عن أبي موسى، قال قيل للنبي صلى الله عليه وسلم الرجل يحب القوم ولما يلحق بهم قال " المرء مع من أحب ". تابعه أبو معاوية ومحمد بن عبيد.
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."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).