It is He, Who takes your souls by night (while sleeping) & has knowledge of all that you have done by day, then He raises (wakes) you up again that a term appointed (your life span) be fulfilled, then in the end unto Him will be your return. Then He will inform you what you used to do. TheHolyQur’an