Sahih al-Bukhari 6231
Book 79: Asking Permission · Narrated by Abu Huraira
Arabic
حَدَّثَنَا مُحَمَّدُ بْنُ مُقَاتِلٍ أَبُو الْحَسَنِ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا مَعْمَرٌ، عَنْ هَمَّامِ بْنِ مُنَبِّهٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " يُسَلِّمُ الصَّغِيرُ عَلَى الْكَبِيرِ، وَالْمَارُّ عَلَى الْقَاعِدِ، وَالْقَلِيلُ عَلَى الْكَثِيرِ ".
English translation
Narrated Abu Huraira:The Prophet (ﷺ) said, "The young should greet the old, the passer by should greet the sitting one, and the small group of persons should greet the large group of persons
Reference: Sahih al-Bukhari 6231, Book of Asking Permission. English translation by Dr. Muhammad Muhsin Khan.