«إن الله تعالى إذا أنزل سطواته على أهل نقمته فوافت آجال قوم صالحين فأهلكوا بهلاكهم ثم يبعثون على نياتهم وأعمالهم»
The Prophet (peace and blessings be upon him) said:
"Indeed, when Allah Almighty sends down His punishments upon those deserving of His wrath, and at that same time the appointed hour of death of some righteous people also arrives, they too are destroyed along with them. Then (on the Day of Resurrection) they will be raised according to their intentions and their deeds."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 1710