Jabir bin Abdullah reported,

Some Jews greeted the Messenger of Allah ﷺ saying, "Death be upon you, Abu Qasim."He replied, "And upon you."Ayesha, becoming angry, said, "Did you not hear what they said?"He answered, "Yes, I heard, and I responded to them. Our prayer against them is answered, but theirs against us is not."

Azami 8171

Sahih

عن جابر بن عبد الله يقول

سلم ناس من يهود على رسول الله ﷺ فقالوا: السام عليك يا أبا القاسم فقال: وعليكم فقالت عائشة وغضبت: ألم تسمع ما قالوا؟ قال: بلي قد سمعت فرددت عليهم وإنا نجاب عليهم ولا يجابون علينا.

الأعظمي 8171صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Rulings on the people of the covenant
Section
Disapproval of initiating the greeting of peace with non-Muslims and how to respond to them
Numbering
Jami al-Kamil 8171 (2nd edition)
Azami 8171