allah takes the souls at the time of their death and those who have not died in their sleep. then he retains those for whom he has ordained death and releases the others until a specified time. there are indeed signs in that for a people who reflect.
الله يتوفى الأنفس حين موتها والتي لم تمت في منامها فيمسك التي قضى عليها الموت ويرسل الأخرى إلى أجل مسمى إن في ذلك لآيات لقوم يتفكرون