Sahih Muslim, Book 39, Hadith 18 (Muslim 5608)

Anas b. Malik reported that when Allah's Messenger (ﷺ) happened to pass by young boys he would great them.