Sahih Muslim #6887 · The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness

Sahih MuslimAl-Bara' reported that whenever Allah's Messenger
Sahih Muslim · Book 48 · The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness
Sahih Muslim · كتاب 48 · كتاب الذكر والدعاء والتوبة والاستغفار
" 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."
حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ، حَدَّثَنَا أَبِي، حَدَّثَنَا شُعْبَةُ، عَنْ عَبْدِ اللَّهِ بْنِ أَبِي السَّفَرِ، عَنْ أَبِي بَكْرِ بْنِ أَبِي مُوسَى، عَنِ الْبَرَاءِ، أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ إِذَا أَخَذَ مَضْجَعَهُ قَالَ ‏
"‏ اللَّهُمَّ بِاسْمِكَ أَحْيَا وَبِاسْمِكَ أَمُوتُ ‏"‏ ‏.‏ وَإِذَا اسْتَيْقَظَ قَالَ ‏"‏ الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ ‏"‏ ‏.‏
Reference : Sahih Muslim 6887In-book reference : Book 48, Hadith 80