Hadith 6247

Narrated Anas bin Malik:

that he passed by a group of boys and greeted them and said, "The Prophet used to do so."

حَدَّثَنَا عَلِيُّ بْنُ الْجَعْدِ، أَخْبَرَنَا شُعْبَةُ، عَنْ سَيَّارٍ، عَنْ ثَابِتٍ الْبُنَانِيِّ، عَنْ أَنَسِ بْنِ مَالِكٍ ـ رضى الله عنه أَنَّهُ مَرَّ عَلَى صِبْيَانٍ فَسَلَّمَ عَلَيْهِمْ وَقَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم يَفْعَلُهُ‏.‏

Reference: 153510
In-book reference: Book 79, Hadith 6247
Hadith 6247 - Asking Permission - Sahih al-Bukhari - Sunnah.com