The Messenger of Allah (ﷺ) came to us when I was a boy among the boys. He saluted us and took me by my hand. He then sent me with some message. He himself sat in the shadow of a wall, or he said: near a wall until I returned to him.
Suhayl ibn AbuSalih said: I went out with my father to Syria. The people passed by the cloisters in which there were Christians and began to salute them. My father said: Do not give them salutation first, for AbuHurayrah reported the Messenger of Allah (ﷺ) as saying: Do not salute them (Jews and Christians) first, and when you meet them on the road, force them to go to the narrowest part of it.
The Prophet (ﷺ) said: When one of the Jews greets you saying: Death may come upon you, reply: The same to you. Abu Dawud said: Malik b. 'Adb Allah b. Dinar transmitted it in a similar manner, and al-Thawri transmitted it from 'Abd Allah b. Dinar. He said in this version: The same to you.
The Companions of the prophet (ﷺ) said to the prophet (ﷺ): The people of the Book salute us. How should we reply to them? He said: say : the same to you.
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.
I came to the Prophet (ﷺ) and said: Upon you be peace, Messenger of Allah! He said: Do not say: Upon you be peace, for "Upon you be peace" is the salutation to the dead.
AbuDawud said: Al-Hasan ibn Ali traced this tradition back to the Prophet (ﷺ): When people are passing by, it is enough if one of them gives a salutation on their behalf, and that it is enough for those who are sitting if one of them replies.