(42) Chapters on Seeking Permission
كتاب الاستئذان والآداب عن رسول الله صلى الله عليه وسلم
(14) Chapter: What Has Been Related About The Rider Giving The Salam To The One Walking
(14) باب مَا جَاءَ فِي تَسْلِيمِ الرَّاكِبِ عَلَى الْمَاشِي
Jami` at-Tirmidhi 2704 
Narrated Hammam bin Munabbih:
from Abu Hurairah that the Prophet (ﷺ) said: "The young one gives the Salam to the elder, the one passing the by to the one sitting and the few to the many."
حَدَّثَنَا سُوَيْدُ بْنُ نَصْرٍ، أَنْبَأَنَا عَبْدُ اللَّهِ بْنُ الْمُبَارَكِ، أَنْبَأَنَا مَعْمَرٌ، عَنْ هَمَّامِ بْنِ مُنَبِّهٍ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ يُسَلِّمُ الصَّغِيرُ عَلَى الْكَبِيرِ وَالْمَارُّ عَلَى الْقَاعِدِ وَالْقَلِيلُ عَلَى الْكَثِيرِ ‏"‏ ‏.‏ قَالَ وَهَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏
Grade :  Sahih (Darussalam)
Reference : Jami` at-Tirmidhi 2704
In-book reference : Book 42, Hadith 17
English translation : Vol. 5, Book 40, Hadith 2704