Quran 39:42 – Does Soul Leave The Body While Asleep?
During sleep humans are unconscious as if they have died. Here the ayah has used is as a sign. You can read more about it in al bayan by Ghamidi sb or tadaburre quran by Amin Ahsan Islahi sb. Here I will mention that some scholars such as Ibn e kathir and Qurtubi has taken it as literal. For understanding Ghamidi sb point of view kindly refer to following video https://ghamidi.tv/videos/can-our-soul-be-taken-from-our-bodies-during-sleep-2095