Ash-Sha'bi said that he met a rider and gave the greeting first.
I said, "Did you give the greeting first?" He said, "I saw Shurayh walking
and he gave the greeting first."
حَدَّثَنَا أَصْبَغُ قَالَ: أَخْبَرَنِي ابْنُ وَهْبٍ قَالَ: أَخْبَرَنِي ابْنُ هَانِئٍ، عَنْ عَمْرِو بْنِ مَالِكٍ، عَنْ فَضَالَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ: يُسَلِّمُ الْفَارِسُ عَلَى الْقَاعِدِ، وَالْقَلِيلُ عَلَى الْكَثِيرِ.
Fadala reported that the Prophet, may Allah bless him and grant
him peace, said, "The person riding greets the person sitting and the small
group greets the larger."