Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:15230Ḥusayn > Ibn Abū Dhiʾb > a man from Banī Salimah > Jābir b. ʿAbdullāh

[Machine] The Prophet ﷺ came to the mosque, which is called Al-Ahzab. He placed his cloak down and stood up, raising his hands in supplication while invoking curse upon them. He did not offer prayer. Then he came and cursed them again and prayed.  

أحمد:١٥٢٣٠حَدَّثَنَا حُسَيْنٌ حَدَّثَنَا ابْنُ أَبِي ذِئْبٍ عَنْ رَجُلٍ مِنْ بَنِي سَلِمَةَ عَنْ جَابِرِ بْنِ عَبْدِ اللهِ

أَنَّ النَّبِيَّ ﷺ أَتَى مَسْجِدَ يَعْنِي الْأَحْزَابَ فَوَضَعَ رِدَاءَهُ وَقَامَ وَرَفَعَ يَدَيْهِ مَدًّا يَدْعُو عَلَيْهِمْ وَلَمْ يُصَلِّ قَالَ ثُمَّ جَاءَ وَدَعَا عَلَيْهِمْ وَصَلَّى