I want to know that does the soul of a person departs the body at the time of sleep and returns at the time of awakening?
Also, do the angels ask for permission of Allah before they bring back soul to the body?

1- This is mentioned in holy Qur'an, sura 39, verse 42.
2- The mechanism of the process is not revealed. However, nothing takes place without Almighty permission