(1) باب يُسَلِّمُ الرَّاكِبُ عَلَى الْمَاشِي وَالْقَلِيلُ عَلَى الْكَثِيرِ
Abu Huraira reported Allah's Messenger (ﷺ) as saying:
The rider should first greet the pedestrian, and the pedestrian the one who is seated and a small group should greet a larger group (with as-Salam-u-'Alaikum). (ES)
Reference (ES): Sahih Muslim 2160 (ES)
In-book reference (ES): Book 39, Hadith 1 (ES)
USC-MSA web (English) reference(deprecated numbering scheme): Book 26, Hadith 5374 (ES)