When the Prophet ﷺ went to bed, he used to say, "Allahumma bismika ahya wa amut." And when he woke up in the mornings he used to say, "Al-hamdu li l-lahi al-ladhi ahyana ba'da ma amatana wa ilaihi-nnushur." (Using translation from Bukhārī 7394)
كَانَ النَّبِيُّ ﷺ إِذَا أَوَى إِلَى فِرَاشِهِ قَالَ اللهُمَّ بِاسْمِكَ أَمُوتُ وَأَحْيَا وَإِذَا اسْتَيْقَظَ قَالَ الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَمَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ