Sahih Muslim | Book 40 | Hadith Number 6880

Narrated by Abdullah b. Umar
Abdullah b. Umar reported: I heard Allah's Messenger (may peace be upon him) as saying: When Allah intends to chastise a people, He chastises all of them then they would be raised according to their deeds.