Abdullah bin Umar reported,

I heard the Messenger of Allah ﷺ say, "When Allah intends punishment for a people, the punishment strikes everyone among them, then they will be raised according to their deeds."

Azami 15877

Sahih

عن عبد الله بن عمر قال

سمعت رسول الله ﷺ يقول: إذا أراد الله بقوم عذابا أصاب العذاب من كان فيهم، ثم بعثوا على أعمالهم.

الأعظمي 15877صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tribulations and signs of the Hour
Chapter
Tribulations
Section
When Allah sends down punishment upon a people it encompasses them all
Numbering
Jami al-Kamil 15877 (2nd edition)
Azami 15877