Narrated Jabir ibn Abdullah:The Prophet (ﷺ) said: If any man is among a people in whose midst he does acts of disobedience, and, though they are able to make him change (his acts), they do not change, Allah will smite them with punishment before they die.
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا أَبُو الأَحْوَصِ، حَدَّثَنَا أَبُو إِسْحَاقَ، - أَظُنُّهُ - عَنِ ابْنِ جَرِيرٍ، عَنْ جَرِيرٍ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " مَا مِنْ رَجُلٍ يَكُونُ فِي قَوْمٍ يُعْمَلُ فِيهِمْ بِالْمَعَاصِي يَقْدِرُونَ عَلَى أَنْ يُغَيِّرُوا عَلَيْهِ فَلاَ يُغَيِّرُوا إِلاَّ أَصَابَهُمُ اللَّهُ بِعَذَابٍ مِنْ قَبْلِ أَنْ يَمُوتُوا " .
AbuDaud
Battles (Kitab Al-Malahim) • Hadith 4339