that the Messenger of Allah (ﷺ) said: "The horseman gives Salam to the walking person, the walking person to the one standing and the few to the many."
Jami` at-Tirmidhi Book 42, Hadith 18