Abu Hurayra reported that the Prophet, may Allah bless him and
grant him peace, said, "When a man comes to a gathering, he should give
the greeting. When he sits down and then thinks that he should leave before
the gathering has broken up, he should give the greeting. Neither is more
of a duty than the other."
Abu Hurayra reported that the Messenger of Allah, may Allah bless
him and grant him peace, said, "When one of you comes to a gathering, he
should give the greeting. If he leaves, he should give the greeting. Neither
is more of a duty than the other."
Mu'awiya ibn Qurra said, "My father told me, 'If you sit in a
gathering expecting good to come from, but then something occurs which
makes you leave, say, 'Peace be upon you,' and you will share in any good
that they obtain in that gathering. There are no people who sit in a gathering
and then split up without Allah having been mentioned, but that it is as
if they were leaving the corpse of a donkey.'"
At-Tufayl ibn Ubayy ibn Ka'b related that he used to visit 'Abdullah
ibn 'Umar and would go with him to the market. He said, "When we went to
the market, 'Abdullah ibn 'Umar did not pass by any rubbish collector nor
merchant nor poor person nor anyone else without greeting them."