Sahih Muslim | Book 26 | Chapter 5

Narrated by Sayyar
Anas b. Malik reported that when Allah's Messenger (may peace be upon him) happened to pass by young boys he would great them. This hadith has been narrated on the authority of Sayyar with the same chain of transmitters.

Narrated by Sayyar
Sayyar reported: I was walking with Thibit al-Bunani that he happened to pass by children and he greeted them. And Thibit reported that he walked with Anas and he happened to pass by children and he greeted them and Anas reported that he walked with Allah's Apostle (may peace be upon him) and he happened to pass by children and he greeted them.