Sayyiduna Jabir (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) said: "A rider should greet the one who is walking, the one who is walking should greet the one who is sitting, and among two people walking, the one who greets first will have greater virtue."
Hadith Referenceصحیح ابن حبان / كتاب البر والإحسان / 498
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الصحيحة» (1146).فضيلة الشيخ العلّامة شُعيب الأرناؤوطرجاله ثقات رجال مسلم، إلا أن أبا الزبير قد عنعن، وهو مدلس، ومحمد بن معمر: هو ابن ربعي القيسي، وأبو عاصم: هو الضحاك بن مخلد النبيل