Read the Arabic text and available English translation from Sahih Muslim, with its supplied source reference.
Sahih Muslim 2168 a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا هُشَيْمٌ، عَنْ سَيَّارٍ، عَنْ ثَابِتٍ الْبُنَانِيِّ، عَنْ أَنَسِ، بْنِ مَالِكٍ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم مَرَّ عَلَى غِلْمَانٍ فَسَلَّمَ عَلَيْهِمْ .
Anas b. Malik reported that when Allah's Messenger (ﷺ) happened to pass by young boys he would great them.
Full reference and source
Sahih Muslim 2168 a
In-book : Book 39, Hadith 18
USC-MSA web (English) : Book 26, Hadith 5391 (deprecated)
References, translations and numbering differ between editions. A URL number is an internal app record identifier, not universal hadith numbering. Only supplied grading is displayed; no new authenticity assessment is made.