Az-Zumar • EN-AL-JALALAYN
﴿ ٱللَّهُ يَتَوَفَّى ٱلْأَنفُسَ حِينَ مَوْتِهَا وَٱلَّتِى لَمْ تَمُتْ فِى مَنَامِهَا ۖ فَيُمْسِكُ ٱلَّتِى قَضَىٰ عَلَيْهَا ٱلْمَوْتَ وَيُرْسِلُ ٱلْأُخْرَىٰٓ إِلَىٰٓ أَجَلٍۢ مُّسَمًّى ۚ إِنَّ فِى ذَٰلِكَ لَءَايَٰتٍۢ لِّقَوْمٍۢ يَتَفَكَّرُونَ ﴾
“It is God [alone that has this power - He] who causes all human beings to die at the time of their [bodily] death, and [causes to be as dead], during their sleep, those that have not yet died: thus, He withholds [from life] those upon whom He has decreed death, and lets the others go free for a term set [by Him]. In [all] this, behold, there are messages indeed for people who think!”
God takes the souls at the time of their death and He takes those that have not died in their sleep in other words He takes them during sleep. Then He retains those for whom He has ordained death and releases the others until an appointed term that is until the time of their death. The one that is released is the soul that possesses the faculty of discernment without which the soul containing the force of life is able to remain temporarily — but this cannot be the other way round. Truly in that mentioned there are signs indications for a people who reflect and then realise that the One with the power to do this also has the power to resurrect — Quraysh however never reflected on this fact.