Sunnah.com : Book 6, Hadith 25
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وعن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم: إذا انتهى أحدكم إلى المجلس فليسلم، فإذا أراد أن يقوم فليسلم، فليست الأولى بأحق من الآخرة" ((رواه أبو داود، والترمذي وقال: حديث حسن"))."
Abu Hurairah (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) said, "When one of you arrives in a gathering, he should offer Salam to those who are already there, and he should also do so when he intends to depart. The first act of greeting is not more meritorious than the last.'' [Abu Dawud].
Full reference and source
Sunnah.com : Book 6, Hadith 25 Arabic/English book : Book 6, Hadith 869
View source on Sunnah.com (opens in a new tab)