Hadith on Sins: Entire nation punished if disobedient gain upper hand

Umm Salamah reported: The Messenger of Allah, peace and blessings be upon him, said, “When the disobedient gain ascendancy in my nation, Allah Almighty will send down His punishment upon all of them.” I said, “O Messenger of Allah, will there be righteous among them on that day?” The Prophet said, “Of course.” I said, “How will they be treated?” The Prophet said, “They will be afflicted as the people are afflicted, then they will be taken away to forgiveness from Allah and His pleasure.

Source: Musnad Aḥmad 26596

Grade: Sahih (authentic) according to Ibn Hajar

عَنْ أُمِّ سَلَمَةَ قَالَتْ قَالَ رَسُول اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ إِذَا ظَهَرَتِ الْمَعَاصِي فِي أُمَّتِي عَمَّهُمُ اللهُ عَزَّ وَجَلَّ بِعَذَابٍ مِنْ عِنْدِهِ فَقُلْتُ يَا رَسُولَ اللهِ أَمَا فِيهِمْ يَوْمَئِذٍ أُنَاسٌ صَالِحُونَ قَالَ بَلَى فَقُلْتُ فَكَيْفَ يَصْنَعُ أُولَئِكَ قَالَ يُصِيبُهُمْ مَا أَصَابَ النَّاسَ ثُمَّ يَصِيرُونَ إِلَى مَغْفِرَةٍ مِنَ اللهِ وَرِضْوَانٍ

26596 مسند أحمد بن حنبل

129 المحدث ابن حجر العسقلاني خلاصة حكم المحدث إسناده صحيح في بذل الماعون