Sahih al-Bukhari
Sahih al-Bukhari 7108
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عُثْمَانَ، أَخْبَرَنَا عَبْدُ اللَّهِ، أَخْبَرَنَا يُونُسُ، عَنِ الزُّهْرِيِّ، أَخْبَرَنِي حَمْزَةُ بْنُ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّهُ سَمِعَ ابْنَ عُمَرَ ـ رضى الله عنهما ـ يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِذَا أَنْزَلَ اللَّهُ بِقَوْمٍ عَذَابًا، أَصَابَ الْعَذَابُ مَنْ كَانَ فِيهِمْ، ثُمَّ بُعِثُوا عَلَى أَعْمَالِهِمْ ".
Ḥamza ibn ʿAbd Allāh ibn ʿUmar reported that he heard Ibn ʿUmar say: The Messenger of God said, “When God sends a punishment upon a people, it strikes whoever is among them; then they will be raised according to their deeds.”
Translation notes
The report says the punishment affects those present collectively, while their resurrection is according to their own deeds. I have kept that distinction explicit without adding a further explanation.