Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
malik:53-1Mālik > Zayd b. Aslam

Yahya related to me from Malik from Zayd ibn Aslam that the Messenger of Allah ﷺ said, "The one riding greets the one walking, and when one of a group of people gives a greeting, it is enough for all of them."  

مالك:٥٣-١حَدَّثَنِي عَنْ مَالِكٍ عَنْ زَيْدِ بْنِ أَسْلَمَ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ يُسَلِّمُ الرَّاكِبُ عَلَى الْمَاشِي وَإِذَا سَلَّمَ مِنَ الْقَوْمِ وَاحِدٌ أَجْزَأَ عَنْهُمْ