سُنَنُ أَبِي دَاوُدَ
Sunan Abi Dawud 5198
General Behavior (Kitab Al-Adab)
Regarding who should be greeted first
حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، عَنْ هَمَّامِ بْنِ مُنَبِّهٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم يُسَلِّمُ الصَّغِيرُ عَلَى الْكَبِيرِ وَالْمَارُّ عَلَى الْقَاعِدِ وَالْقَلِيلُ عَلَى الْكَثِيرِ .
Abu Hurairah reported the Messenger of Allah (ﷺ) as saying : The young should salute the old, the one who is passing by should salute the one who is sitting, and a small company should salute a large one.
Sunan Abi Dawud, 5198Sahih (Al-Albani)صحيح (الألباني)