Huzaifa bin Yaman reported,

When the Messenger of Allah ﷺ lay down to sleep, he would say, "O Allah, in Your name I live and I die." When he rose, he would say, "Praise be to Allah who has given us life after causing us to die, and to Him is the resurrection."

Ahmad 23391

Sahih

حدثنا سليمان بن حيان أخبرنا سفيان عن عبد الملك بن عمير عن ربعي بن حراش

عن حذيفة قال

كان رسول الله ﷺ إذا أخذ مضجعه قال اللهم باسمك أحيا وأموت وإذا قام قال الحمد لله الذي أحيانا بعدما أماتنا وإليه النشور

أحمد 23391صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Huzaifa bin Yaman
Numbering
Darussalam 23391
Ahmad 23391