It is narrated from Sayyiduna Fadala bin Ubaid (may Allah be pleased with him) that the Prophet (peace and blessings of Allah be upon him) said: "The rider should greet the one who is walking, the one who is walking should greet the one who is sitting, and a smaller group should greet a larger group."
Hadith Referenceالادب المفرد / كتاب السلام / 998
Hadith Gradingالألبانی:صحيح
Hadith Takhrij«صحيح : جامع الترمذي ، الاستئذان و الآداب ، ح : 2703»
It is narrated from Sayyiduna Fadala (may Allah be pleased with him) that the Messenger of Allah (peace and blessings of Allah be upon him) said: "The rider should greet the one who is walking, and the one who is walking should greet the one who is standing, and the smaller group should greet the larger group."
Hadith Referenceالادب المفرد / كتاب السلام / 999
Hadith Gradingالألبانی:صحيح
Hadith Takhrij«صحيح : صحيح ابن حبان (ابن بلبان) ، ح : 497»