Sunnah.com : Book 6, Hadith 13
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
عن أبي هريرة رضي الله عنه أن رسول الله صلى الله عليه وسلم قال: يسلم الراكب على الماشي، والماشي على القاعد، والقليل على الكثير” ((متفق عليه)) وفي رواية للبخاري: "والصغير على الكبير""
Abu Hurairah (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) said, 'A rider should greet a pedestrian; a pedestrian should greet one who is sitting; and a small group should greet a large group (of people).'' [Al-Bukhari and Muslim]. The narration in Al-Bukhari adds: Messenger of Allah (ﷺ) said, "The young should greet the elderly.''
Full reference and source
Sunnah.com : Book 6, Hadith 13 Arabic/English book : Book 6, Hadith 857
View source on Sunnah.com (opens in a new tab)