Supplication at the time of going to Bed and Waking up

Imam Al-Nawawi’s Riyad-us-Saliheen
Chapter 246
Supplication at the time of going to Bed and Waking up

1446. Hudhaifah and Abu Dharr (May Allah be pleased with him) reported: Whenever the Messenger of Allah (sallallaahu ’alayhi wa sallam) went to bed, he would supplicate: “Bismika-Allahumma amut wa ahya (With Your Name, O Allah, I die and return to life)”; and when he woke up, he would supplicate thus: “Al-hamdu lillahilladhi ahyana ba`da ma amatana, wa ilaihin-nushur (All praise belongs to Allah Who has restored us back to life after causing us to die; and to Him shall we return).”
[Al-Bukhari].