The Servants are in Allah's Hands Before and After Death
Allah states that He brings death to His servants in their sleep at night, for sleep is minor death. Allah said in other Ayat,
إِذْ قَالَ اللَّهُ يعِيسَى إِنِّي مُتَوَفِّيكَ وَرَافِعُكَ إِلَىَّ
And (remember) when Allah said;"O `Isa! I will take you and raise you to Myself..." (3;55)
and,
اللَّهُ يَتَوَفَّى الاٌّنفُسَ حِينَ مِوْتِـهَا وَالَّتِى لَمْ تَمُتْ فِى مَنَامِـهَا فَيُمْسِكُ الَّتِى قَضَى عَلَيْهَا الْمَوْتَ وَيُرْسِلُ الاٍّخْرَى إِلَى أَجَلٍ مُّسَمًّى
It is Allah Who takes away the souls at the time of their death, and those that die not during their sleep. He keeps those (souls) for which He has ordained death and sends the rest for a term appointed. (39;42)
thus mentioning both minor and major death.
Allah says,
وَهُوَ الَّذِي يَتَوَفَّاكُم بِاللَّيْلِ وَيَعْلَمُ مَا جَرَحْتُم بِالنَّهَارِ
It is He, Who takes your souls by night (when you are asleep), and has knowledge of all that you have done by day,
meaning, He knows the deeds and actions that you perform during the day.
This Ayah demonstrates Allah's perfect knowledge of His creation, by day and night, and in their movements and idleness.
Allah said in other Ayat,
سَوَاءٌ مِّنْكُمْ مَّنْ أَسَرَّ الْقَوْلَ وَمَنْ جَهَرَ بِهِ وَمَنْ هُوَ مُسْتَخْفٍ بِالَّيْلِ وَسَارِبٌ بِالنَّهَارِ
It is the same (to Him) whether any of you conceal his speech or declare it openly, whether he be hid by night or go forth freely by day. (13;10)
and,
وَمِن رَّحْمَتِهِ جَعَلَ لَكُمُ الَّيْلَ وَالنَّهَارَ لِتَسْكُنُواْ فِيهِ
وَلِتَبْتَغُواْ مِن فَضْلِهِ
It is out of His mercy that He made night and day, so that you may rest therein, (by night), and that you may seek of His bounty (by day). 28;73)
Allah said,
وَجَعَلْنَا الَّيْلَ لِبَاساً
وَجَعَلْنَا النَّهَارَ مَعَاشاً
And (We) have made the night as a covering. And (We) have made the day for livelihood. (78;10-11)
Allah said here,
وَهُوَ الَّذِي يَتَوَفَّاكُم بِاللَّيْلِ وَيَعْلَمُ مَا جَرَحْتُم بِالنَّهَارِ
It is He, Who takes your souls by night (when you are asleep), and has knowledge of all that you have done by day, (6;60)
Then said,
ثُمَّ يَبْعَثُكُمْ فِيهِ
then he raises (wakes) you up again,
According to Mujahid, Qatadah and As-Suddi,
by day.
Allah's statement,
لِيُقْضَى أَجَلٌ مُّسَمًّى
that a term appointed be fulfilled.
refers to the life span of every person,
ثُمَّ إِلَيْهِ مَرْجِعُكُمْ
then (in the end), unto Him will be your return.
on the Day of Resurrection.
ثُمَّ يُنَبِّيُكُم بِمَا كُنتُمْ تَعْمَلُونَ
Then He will inform you of what you used to do.
He will reward you, good for good, and evil for evil.
Allah's statement