(50) باب الْمَرْءُ مَعَ مَنْ أَحَبَّ
Abu Musa, reported that a person came to Allah's Messenger (ﷺ) ; the rest of the hadith is the same.
Reference: Sahih Muslim 2641
In-book reference: Book 45, Hadith 215
USC-MSA web (English) reference(deprecated numbering scheme): Book 32, Hadith 6387
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.