Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
nasai-kubra:10519Muḥammad b. Ḥātim > Sūwayd > ʿAbdullāh b. al-Mubārak > Shuʿbah > ʿAbdullāh b. Abū al-Safar > Abū Bakr b. Abū Mūsá > al-Barāʾ

[Machine] Narrated by the Prophet ﷺ that he used to say when he wanted to sleep, "In Your name, I live and in Your name, I die."  

الكبرى للنسائي:١٠٥١٩أَخْبَرَنَا مُحَمَّدُ بْنُ حَاتِمٍ قَالَ أَخْبَرَنَا سُوَيْدٌ قَالَ حَدَّثَنَا عَبْدُ اللهِ بْنُ الْمُبَارَكِ عَنْ شُعْبَةَ قَالَ أَخْبَرَنَا عَبْدُ اللهِ بْنُ أَبِي السَّفَرِ قَالَ سَمِعْتُ أَبَا بَكْرِ بْنِ أَبِي مُوسَى يُحَدِّثُ عَنِ الْبَرَاءِ

عَنِ النَّبِيِّ ﷺ أَنَّهُ كَانَ يَقُولُ إِذَا أَرَادَ أَنْ يَنَامَ «بِاسْمِكَ أَحْيَا وَبِاسْمِكَ أَمُوتُ»