It is narrated from Sayyiduna Abdur Rahman bin Shibl (may Allah be pleased with him) that I heard the Prophet (peace and blessings of Allah be upon him) say: "The rider should greet the one who is walking, and the one who is walking should greet the one who is sitting, and those who are fewer in number should greet those who are more. So whoever responds to the greeting, the reward is for him, and whoever does not respond, there is nothing for him."
It is narrated from Sayyiduna Abu Hurairah (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, the one who is walking should greet the one who is sitting, and the smaller group should greet the larger group."
It is narrated from Sayyiduna Jabir (may Allah be pleased with him), he says: When two people walking meet together, the one who initiates the greeting of peace is superior.
Hadith Referenceالادب المفرد / كتاب السلام / 994
Hadith Gradingالألبانی:صحيح
Hadith Takhrij«صحيح : صحيح ابن حبان (ابن بلبان) ، ح : 498.»