← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #7113 · Oneness, Uniqueness of Allah (Tawheed)

Narrated Abu Dharr:

حَدَّثَنَا سَعْدُ بْنُ حَفْصٍ، حَدَّثَنَا شَيْبَانُ، عَنْ مَنْصُورٍ، عَنْ رِبْعِيِّ بْنِ حِرَاشٍ، عَنْ خَرَشَةَ بْنِ الْحُرِّ، عَنْ أَبِي ذَرٍّ، قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا أَخَذَ مَضْجَعَهُ مِنَ اللَّيْلِ قَالَ ‏ "‏ بِاسْمِكَ نَمُوتُ وَنَحْيَا، فَإِذَا اسْتَيْقَظَ قَالَ الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُورُ ‏"‏‏.‏

When the Prophet (ﷺ) went to bed at night, he used to say: "Bismika namutu wa nahya." And when he got
up in the morning, he used to say, "Al hamdu li l-lahi al-ladhi ahyana ba'da ma amatana, wa ilaihi-nnushur."