Narrated AbuHurayrah: The Prophet (ﷺ) said: When one of you comes to an assembly, he should give a salutation and if he feels inclined to get up, he should give a salutation, for the former is not more of a duty than the latter
Hadith No. 5208
Sunan Abu Dawud
Gradings:
Al-Albani:
Hasan Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Hasan Sahih
Shuaib Al Arnaut:
Hasan
Zubair Ali Zai:
Isnaad Hasan