عَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِذَا أَنْزَلَ اللَّهُ بِقَوْمٍ عَذَابًا أَصَابَ مَنْ كَانَ فِيهِمْ ثُمَّ بُعِثُوا عَلَى أَعْمَالِهِمْ
Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that the Messenger of Allah (peace and blessings be upon him) said: When Allah Almighty sends punishment upon a people, then whoever is among them, all are afflicted by that punishment; then they will be resurrected according to their deeds.