(7) باب مَا يَقُولُ إِذَا نَامَ
Narrated Hudhaifa:
When the Prophet (ﷺ) went to bed, he would say: "Bismika amutu wa ahya." and when he got up he would say:" Al-hamdu li l-lahil-ladhi ahyana ba'da ma amatana wa ilaihin-nushur."
Reference: Sahih al-Bukhari 6312
In-book reference: Book 80, Hadith 9
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 75, Hadith 324