Sunan at-Tirmithiy كتاب الدعوات باب منه [ اللهم باسمك أموت وأحيا ]
When the Messenger of God, peace and blessings of God be upon him, wanted to go to sleep, he would say, "O God, in your name I die and live." Upon awakening, he would say, "All praise is due to God who gave life to my soul after causing it to die; and to Him is the resurrection." Click on ḥadīth to read more