(449) بَابُ مَنْ بَدَأَ بِالسَّلامِ
Jabir said, " "Someone riding should greet someone walking, andsomeone walking should greet someone sitting down. When there are two peoplewalking, the better of them is the one who gives the greeting first."
Reference: Al-Adab Al-Mufrad 983
In-book reference: Book 42, Hadith 19
English translation: Book 42, Hadith 983