It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "When Allah, the Mighty and Majestic, sends down punishment upon a people, that punishment befalls all those who are among them; then (on the Day of Resurrection) they will be raised again, each according to his intention."
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ فيه الحجاج بن أرطاة مدلس وقد عنعن، وأصله في الصحيحين من حديث ابن عمر
Hadith Takhrij«الحجاج بن أرطاة: صدوق كثير الخطأ والتدليس (من الحفظ)؛ إسماعيل بن زكريا: صدوق يخطئ قليلا (من الحفظ)؛ عبد الرحمن بن هنيدة ثقة (من الحفظ)؛ وأصله عند البخاري (7108) ومسلم (2879) من طريق حمزة بن عبد الله عن أبيه»