AHMAD 23369: from Ḥudhayfah —
when the prophet (May peace be upon him) lay down on his bed (at night), he would say: O Allah! In Thy name I die and live. When he awoke, he said: praise be to Allah who has given us life after causing us to die and to whom we shall be resurrected. (Using translation from Abū Dāʾūd 5049)

أحمد ٢٣٣٦٩: عن حذيفه —
كَانَ النَّبِيُّ ﷺ إِذَا أَوَى إِلَى فِرَاشِهِ قَالَ اللهُمَّ بِاسْمِكَ أَمُوتُ وَبِاسْمِكَ أَحْيَا وَإِذَا اسْتَيْقَظَ قَالَ الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَمَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ


Sound Chain (Arnaʾūṭ)
Aḥmad > Anonymous of the Companions > § [Machine] Hudhayfah ibn al-Yaman about the Prophet (PBUH)
hadithunlocked.com