Narrator:Hudhayfah
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا وَكِيعٌ، عَنْ سُفْيَانَ، عَنْ عَبْدِ الْمَلِكِ بْنِ عُمَيْرٍ، عَنْ رِبْعِيٍّ، عَنْ حُذَيْفَةَ، قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا نَامَ قَالَ "
اللَّهُمَّ بِاسْمِكَ أَحْيَا وَأَمُوتُ " . وَإِذَا اسْتَيْقَظَ قَالَ " الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ "
Hudhaifah said :
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.
Reported by Abu Dawud (No. 5049), Al-Bukhari (No. 6312, 6314, 6324, 7394), At-Tirmidhi (No. 3417), Ibn Majah (No. 3880), Ahmad (No. 22184, 22280, 22301, 22362) and Ad-Darimi (No. 2570).