Jami` at-Tirmidhi, Volume 6, Book 45, Hadith 3394 (DarusSalam) ⓘ
Al-Bara' bin `Azib narrated that: The Prophet said to him: “Should I not teach you some words to say when you go to your bed, so if you died, you will die upon the Fitrah, and if you reach the morning, you will reach it in good? You say: ‘O Allah, verily, I submit myself to You, and I turn my face to You, and I entrust my affair to You, hoping in You and fearing in You. And I lay myself down depending upon You, there is no refuge [nor escape] from You except to You. I believe in Your Book which You have revealed, and in Your Prophet whom You have sent (Allāhumma innī aslamtu nafsī ilaika wa wajjahtu wajhī ilaika, wa fawwaḍtu amrī ilaika, raghbatan wa rahbatan ilaika wa alja'tu ẓahrī ilaika, lā malja'a [wa lā manjā] minka illā ilaik. Āmantu bikitābikal-ladhī anzalta wa binabiyyikal-ladhī arsalt).’” Al-Bara' said: “So I said: ‘And in Your Messenger whom you have sent.’” He said: “So he struck his hand upon my chest, then said: “And in Your Prophet whom You have sent. (Wa binabiyyikal-ladhī arsalt).”
حَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا سُفْيَانُ بْنُ عُيَيْنَةَ، عَنْ أَبِي إِسْحَاقَ الْهَمْدَانِيِّ، عَنِ الْبَرَاءِ بْنِ عَازِبٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم قَالَ لَهُ " أَلاَ أُعَلِّمُكَ كَلِمَاتٍ تَقُولُهَا إِذَا أَوَيْتَ إِلَى فِرَاشِكَ فَإِنْ مُتَّ مِنْ لَيْلَتِكَ مُتَّ عَلَى الْفِطْرَةِ وَإِنْ أَصْبَحْتَ أَصْبَحْتَ وَقَدْ أَصَبْتَ خَيْرًا تَقُولُ اللَّهُمَّ إِنِّي أَسْلَمْتُ نَفْسِي إِلَيْكَ وَوَجَّهْتُ وَجْهِي إِلَيْكَ وَفَوَّضْتُ أَمْرِي إِلَيْكَ رَغْبَةً وَرَهْبَةً إِلَيْكَ وَأَلْجَأْتُ ظَهْرِي إِلَيْكَ لاَ مَلْجَأَ وَلاَ مَنْجَا مِنْكَ إِلاَّ إِلَيْكَ آمَنْتُ بِكِتَابِكَ الَّذِي أَنْزَلْتَ وَبِنَبِيِّكَ الَّذِي أَرْسَلْتَ " . قَالَ الْبَرَاءُ فَقُلْتُ وَبِرَسُولِكَ الَّذِي أَرْسَلْتَ . قَالَ فَطَعَنَ بِيَدِهِ فِي صَدْرِي ثُمَّ قَالَ " وَبِنَبِيِّكَ الَّذِي أَرْسَلْتَ " . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ قَدْ رُوِيَ مِنْ غَيْرِ وَجْهٍ عَنِ الْبَرَاءِ . وَرَوَاهُ مَنْصُورُ بْنُ الْمُعْتَمِرِ عَنْ سَعْدِ بْنِ عُبَيْدَةَ عَنِ الْبَرَاءِ عَنِ النَّبِيِّ صلى الله عليه وسلم نَحْوَهُ إِلاَّ أَنَّهُ قَالَ إِذَا أَوَيْتَ إِلَى فِرَاشِكَ وَأَنْتَ عَلَى وُضُوءٍ . قَالَ وَفِي الْبَابِ عَنْ رَافِعِ بْنِ خَدِيجٍ رضى الله عنه .
also referenced under: Hadith 3394 (Reference) & Book 48, Hadith 25 (In-Book)