Narrated Abdullah ibn Umar: The Prophet ﷺ said: When one of the Jews greets you saying: Death may come upon you, reply: The same to you. Abu Dawud said: Malik b. 'Adb Allah b. Dinar transmitted it in a similar manner, and al-Thawri transmitted it from 'Abd Allah b. Dinar. He said in this version: The same to you.
This hadith also teaches us the importance of self-control and restraint in difficult situations as well as the value of peace over violence or aggression when dealing with conflict between people. It is important for us to remember that even if someone else behaves badly towards us, it does not give us permission to do the same back; rather we must strive for peace and understanding even in difficult circumstances so that we can maintain good relationships between people despite any disagreements they may have.