Sahih al-Bukhari 6247
Sahih al-Bukhari · Book 79: Asking Permission · To greet the boys
Narrated Anas bin Malik:
حَدَّثَنَا عَلِيُّ بْنُ الْجَعْدِ ، أَخْبَرَنَا شُعْبَةُ ، عَنْ سَيَّارٍ ، عَنْ ثَابِتٍ الْبُنَانِيِّ ، عَنْ أَنَسِ بْنِ مَالِكٍ ـ رضى الله عنه أَنَّهُ مَرَّ عَلَى صِبْيَانٍ فَسَلَّمَ عَلَيْهِمْ وَقَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم يَفْعَلُهُ.
that he passed by a group of boys and greeted them and said, "The Prophet (ﷺ) used to do so."