(5) باب تَسْلِيمِ الرَّاكِبِ عَلَى الْمَاشِي
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "The riding one should greet the walking one, and the walking one should greet the sitting one, and the small number of persons should greet the large number of persons."
Reference: Sahih al-Bukhari 6232
In-book reference: Book 79, Hadith 6
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 74, Hadith 251