1196 - حَدَّثَنَا الْحُمَيْدِيُّ قَالَ: ثنا سُفْيَانُ، قَالَ: ثنا ابْنُ عَجْلَانَ، عَنْ سَعِيدٍ، عَنْ أَبِي هُرَيْرَةَ، يَبْلُغُ بِهِ النَّبِيَّ صَلَّي اللهُ عَلَيْهِ وَسَلَّمَ: «إِذَا انْتَهَيْتَ إِلَي قَوْمٍ جُلُوسٍ فَسَلِّمْ عَلَيْهِمْ، وَإِذَا قُمْتَ فَسَلِّمْ عَلَيْهِمْ، فَإِنَّ الْأُولَي لَيْسَتْ أَحَقَّ مِنَ الْآخِرَةِ»
Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates: He learned of this statement of the Prophet Muhammad (peace and blessings be upon him): "When you go to a group of people sitting, greet them with salam. And when you get up (to leave), then (again) greet them with salam, because the first one does not have more right than the second one."
Related hadith on this topic