Narrated Ibn Omar: Allah’s Messenger, peace be upon him, said, “If Allah sends punishment upon a nation then it befalls upon the whole population indiscriminately and then they will be resurrected (and judged) according to their deeds.”
[9: 224- O.B. Sahih Al-Bukhari)