ON THE SUBJECT OF 139 GREETINGS UPON ARRIVAL AND DEPARTURE; GREET A GATHERING UPON ARRIVAL AND DEPARTURE H 882 "When you arrive at a gathering you should greet those present, and do the same when you depart. The first greeting is not better than the last." R 882 Abu Daud and Tirmidhi with a chain up to Abu Hurairah who related that the Prophet, praise and peace be upon him, said this.
باب استحباب السلام إِذَا قام من المجلس وفارق جلساءه أَوْ جليسه 869- وعن أَبي هريرة رضي الله عنه ، قَالَ : قَالَ رسول الله صلى الله عليه وآله وسلم : "إِذَا انْتَهى أَحَدُكُمْ إِلَى المَجْلِسِ فَلْيُسَلِّمْ ، فَإذَا أرَادَ أنْ يَقُومَ فَلْيُسَلِّمْ ، فَلَيْسَتِ الأُولَى بِأحَقّ مِنَ الآخِرَةِ" رواه أَبُو داود والترمذي ، وقال : "حديث حسن" .