Hadith 5344

وَعَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِذَا أَنْزَلَ اللَّهُ بِقَوْمٍ عَذَابًا أَصَابَ الْعَذَابُ مَنْ كَانَ فِيهِمْ ثُمَّ بُعِثُوا عَلَى أَعْمَالِهِمْ» . مُتَّفَقٌ عَلَيْهِ
Ibn Umar, may Allah be pleased with him, narrates that the Messenger of Allah, peace and blessings be upon him, said: "When Allah sends punishment upon a people, then all the people are encompassed by that punishment. Then, on the Day of Resurrection, they will be raised according to their deeds." Agreed upon.
Hadith Reference مشكوة المصابيح / كتاب الرقاق / 5344
Hadith Grading الألبانی: مُتَّفَقٌ عَلَيْهِ  |  زبیر علی زئی: متفق عليه
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «متفق عليه، رواه البخاري (7108) و مسلم (84 / 2879)»