Once the Jews came to the Prophet ﷺ and said, "Death be upon you." So I cursed them. The Prophet ﷺ said, "What is the matter?" I said, "Have you not heard what they said?" The Prophet ﷺ said, "Have you not heard what I replied (to them)? (I said), ('The same is upon you.')"
أَنَّ الْيَهُودَ دَخَلُوا عَلَى النَّبِيِّ ﷺ فَقَالُوا السَّامُ عَلَيْكَ فَلَعَنْتُهُمْ فَقَالَ مَا لَكِ قُلْتُ أَوَلَمْ تَسْمَعْ مَا قَالُوا قَالَ فَلَمْ تَسْمَعِي مَا قُلْتُ وَعَلَيْكُمْ