(4) باب النَّهْىِ عَنِ ابْتِدَاءِ، أَهْلِ الْكِتَابِ بِالسَّلاَمِ وَكَيْفَ يَرُدُّ عَلَيْهِمْ
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(deprecated numbering scheme): Book 26, Hadith 5388