Az Zumar Ayah 42
ٱللَّهُ يَتَوَفَّى ٱلْأَنفُسَ حِينَ مَوْتِهَا وَٱلَّتِى لَمْ تَمُتْ فِى مَنَامِهَاۖ فَيُمْسِكُ ٱلَّتِى قَضَىٰ عَلَيْهَا ٱلْمَوْتَ وَيُرْسِلُ ٱلْأُخْرَىٰٓ إِلَىٰٓ أَجَلٍ مُّسَمًّىۚ إِنَّ فِى ذَٲلِكَ لَأَيَـٰتٍ لِّقَوْمٍ يَتَفَكَّرُونَ ٤٢
?It is? Allah ?Who? calls back the souls ?of people? upon their death as well as ?the souls? of the living during their sleep. Then He keeps those for whom He has ordained death, and releases the others until ?their? appointed time. Surely in this are signs for people who reflect.