Abdul-Rahman bin Shibl reported,

The Messenger of Allah ﷺ said, "The one riding should greet the one walking, the one walking should greet the one sitting, and the smaller group should greet the larger group. Whoever returns the greeting, the reward is his, and whoever does not return it gets nothing."

Azami 14229

Sahih

عن عبد الرحمن بن شبل قال

قال رسول الله ﷺ: يسلم الراكب على الراجل، والراجل على الجالس، والأقل على الأكثر، فمن أجاب السلام كان له، ومن لم يجب فلا شيء له.

الأعظمي 14229صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of seeking permission and greetings
Section
Rider greets the walker
Numbering
Jami al-Kamil 14229 (2nd edition)
Azami 14229