Sahih al-Bukhari · Hadith 6234

وَقَالَ إِبْرَاهِيمُ عَنْ مُوسَى بْنِ عُقْبَةَ، عَنْ صَفْوَانَ بْنِ سُلَيْمٍ، عَنْ عَطَاءِ بْنِ يَسَارٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ يُسَلِّمُ الصَّغِيرُ عَلَى الْكَبِيرِ، وَالْمَارُّ عَلَى الْقَاعِدِ، وَالْقَلِيلُ عَلَى الْكَثِيرِ ‏"‏‏.‏

Narrated Abu Huraira: Allah's Messenger (ﷺ) said, "The younger person should greet the older one, and the walking person should greet the sitting one, and the small number of persons should greet the large number of persons

Narrated by Abu Huraira