(5646) The One Who Is Riding Should Greet The One Who Is Walking, And The Smaller Group Should Greet The Larger Group
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).