(4) باب إِذَا عَرَّضَ الذِّمِّيُّ وَغَيْرُهُ بِسَبِّ النَّبِيِّ صلى الله عليه وسلم وَلَمْ يُصَرِّحْ نَحْوَ قَوْلِهِ السَّامُ عَلَيْكَ
Narrated `Aisha:
A group of Jews asked permission to visit the Prophet (and when they were admitted) they said, "As- Samu 'Alaika (Death be upon you)." I said (to them), "But death and the curse of Allah be upon you!" The Prophet (ﷺ) said, "O `Aisha! Allah is kind and lenient and likes that one should be kind and lenient in all matters." I said, "Haven't you heard what they said?" He said, "I said (to them), 'Wa 'Alaikum (and upon you).
Reference: Sahih al-Bukhari 6927
In-book reference: Book 88, Hadith 9
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 9, Book 84, Hadith 61