حَدَّثَنَا زُهَيْرٌ ، حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ ، حَدَّثَنَا شَيْبَانُ ، عَنْ قَتَادَةَ ، عَنْ أَنَسٍ ، أَنَّ يَهُودِيًّا أَتَى عَلَى النَّبِيِّ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - ، فَقَالَ : السَّامُ عَلَيْكُمْ ، فَرَدَّ الْقَوْمُ ، فَقَالَ نَبِيُّ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - : هَلْ تَدْرُونَ مَا قَالَ ؟ قَالُوا : اللهُ وَرَسُولُهُ أَعْلَمُ ، سَلَّمَ يَا نَبِيَّ اللهِ ، قَالَ : لَا ، وَلَكِنَّهُ قَالَ : كَذَا وَكَذَا ، رُدُّوهُ عَلَيَّ ، قَالَ : فَرَدُّوهُ عَلَيْهِ ، فَقَالَ : أَقُلْتَ السَّامُ عَلَيْكُمْ ؟ قَالَ : نَعَمْ ، قَالَ نَبِيُّ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - عِنْدَ ذَلِكَ : إِذَا سَلَّمَ عَلَيْكُمْ أَحَدٌ مِنْ أَهْلِ الْكِتَابِ فَقُولُوا : وَعَلَيْكَ ، قَالَ : عَلَيْكَ مَا قُلْتَ وَإِذَا جَاءُوكَ حَيَّوْكَ بِمَا لَمْ يُحَيِّكَ بِهِ اللهُ .
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that a Jew came to the Prophet (peace and blessings be upon him) and said: 'As-samu 'alaykum' (Death be upon you). The people present in the gathering returned his greeting. Then the Prophet of Allah (peace and blessings be upon him) asked: "Do you know what he said?" They said: Allah and His Messenger (peace and blessings be upon him) know best; O Prophet of Allah, he gave the greeting of peace. He (peace and blessings be upon him) said: "No, rather he said such and such (that is, words of imprecation). Bring him back to me." So the Companions brought him back, and he (peace and blessings be upon him) asked him: "Did you say 'As-samu 'alaykum'?" He admitted: Yes. On that occasion the Prophet of Allah (peace and blessings be upon him) said: "When one of the People of the Book greets you, say in reply: 'Wa 'alayk' (And upon you too)." He (peace and blessings be upon him) said to him: "Upon you be what you said." And in this context this verse was revealed: "And when they come to you, they greet you with that with which Allah does not greet you."