What one says when going to sleep and waking up

Riyad as-Salihin (The Meadows of the Righteous)

by Imam Nawawi

246. Chapter: What one says when going to sleep and waking up

1446. Hudhayfa and Abu Dharr reported that when the Messenger of Allah, may Allah bless him and grant him peace, retired to his bed, he said, "In Your name, O Allah, I live and I die." When he woke up he said, "Praise be to Allah who gave me life and He made me die and to Him is the gathering." [al-Bukhari]