'Abdullah bin 'Umar (RA) reported: I heard Allah's Messenger (ﷺ) as saying: When Allah intends to chastise a people, He chastises all of them then they would be raised according to their deeds.
Hadith ReferenceSahih Muslim / The Book of Paradise, its Description, its Bounties and its Inhabitants / Hadith: 2879