Sahih al-Bukhari 6234
Sahih al-Bukhari · Book 79: Asking Permission · The younger person should greet the older one
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."