[Machine] The Prophet ﷺ used to say, when he lay down at night, he would place his right hand under his right cheek and say, "O Allah, with Your name I live and with Your name I die." And when he woke up from sleep at night, he would say, "Praise be to Allah who has brought me back to life after causing me to die, and to Him is the resurrection."
كَانَ النَّبِيُّ ﷺ قَمِنًا أَنْ يَقُولَ إِذَا أَخَذَ مَضْجَعَهُ مِنَ اللَّيْلِ وَضَعَ يَدَهُ الْيُمْنَى تَحْتَ خَدِّهِ الْأَيْمَنِ ثُمَّ يَقُولُ اللهُمَّ بِاسْمِكَ أَحْيَا وَبِاسْمِكَ أَمُوتُ فَإِذَا اسْتَيْقَظَ مِنَ اللَّيْلِ قَالَ الْحَمْدُ لِلَّهِ الَّذِي أَحْيَانِي بَعْدَمَا أَمَاتَنِي وَإِلَيْهِ النُّشُورُ