كتاب السلام
39  
The Book of Greetings
(4)
Chapter: The Prohibition Of Initiating The Greeting With The People Of The Book, And How To Respond To Them
(4)
باب النَّهْىِ عَنِ ابْتِدَاءِ، أَهْلِ الْكِتَابِ بِالسَّلاَمِ وَكَيْفَ يَرُدُّ عَلَيْهِمْ ‏‏
Sahih Muslim 2166

Jabir b. Abdullah reported that some people from amongst the Jews said to Allah's Messenger (ﷺ) Abu'l-Qasim. as-Sam-u-'Alaikum, whereupon he said:

Wa 'Alaikum, A'isha was enraged and asked him (Allah's Apostle) whether he had not heard what they had said. He said, I did hear and I retorted to them (and the curse that I invoked upon them would receive response from Allah), but (the curse that they invoked upon us) would not be responded.
حَدَّثَنِي هَارُونُ بْنُ عَبْدِ اللَّهِ، وَحَجَّاجُ بْنُ الشَّاعِرِ، قَالاَ حَدَّثَنَا حَجَّاجُ بْنُ مُحَمَّدٍ، قَالَ قَالَ ابْنُ جُرَيْجٍ أَخْبَرَنِي أَبُو الزُّبَيْرِ، أَنَّهُ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ، يَقُولُ سَلَّمَ نَاسٌ مِنْ يَهُودَ عَلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالُوا السَّامُ عَلَيْكَ يَا أَبَا الْقَاسِمِ ‏.‏ فَقَالَ ‏"‏ وَعَلَيْكُمْ ‏"‏ ‏.‏ فَقَالَتْ عَائِشَةُ وَغَضِبَتْ أَلَمْ تَسْمَعْ مَا قَالُوا قَالَ ‏"‏ بَلَى قَدْ سَمِعْتُ فَرَدَدْتُ عَلَيْهِمْ وَإِنَّا نُجَابُ عَلَيْهِمْ وَلاَ يُجَابُونَ عَلَيْنَا ‏"‏ ‏.‏
Reference : Sahih Muslim 2166
In-book reference : Book 39, Hadith 15
USC-MSA web (English) reference : Book 26, Hadith 5388
  (deprecated numbering scheme)