(17) باب مَا يَقُولُ عِنْدَ النَّوْمِ وَأَخْذِ الْمَضْجَعِ
Al-Bara' reported that whenever Allah's Messenger (ﷺ) went to bed, he said:
" O Allah, it is with Thine Name that I live and it is with Thine Name that I die." And when he got up he used to say:" Praise is due to Allah, Who gave us life after our death (sleep) and unto Thee is resurrection." (DE)
Reference (DE): Sahih Muslim 2711 (DE)
In-book reference (DE): Book 48, Hadith 80 (DE)
USC-MSA web (English) reference(deprecated numbering scheme): Book 35, Hadith 6549 (DE)