حَدَّثَنَا مُحَمَّدٌ ، حَدَّثَنَا مُحَمَّدٌ ، حَدَّثَنَا شُعْبَةُ ، عَنْ أَبِي إِسْحَاقَ ، أَنَّهُ سَمِعَ الْبَرَاءَ بْنَ عَازِبٍ ، يَقُولُ : أَمَرَ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - رَجُلًا إِذَا أَخَذَ مَضْجَعَهُ أَنْ يَقُولَ : اللَّهُمَّ أَسْلَمْتُ نَفْسِي إِلَيْكَ ، وَوَجَّهْتُ وَجْهِي إِلَيْكَ ، وَفَوَّضْتُ أَمْرِي إِلَيْكَ ، وَأَلْجَأْتُ ظَهْرِي إِلَيْكَ ، رَغْبَةً وَرَهْبَةً إِلَيْكَ ، لَا مَلْجَأَ وَلَا مَنْجَى مِنْكَ إِلَّا إِلَيْكَ ، آمَنْتُ بِكِتَابِكَ الَّذِي أَنْزَلْتَ ، وَبِنَبِيِّكَ الَّذِي أَرْسَلْتَ ، فَإِنْ مَاتَ مَاتَ عَلَى الْفِطْرَةِ .
It is narrated from Sayyiduna al-Bara' bin Azib (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) instructed a man that when he lies down on his bed he should say: 'Allahumma aslamtu nafsi ilayka, wa wajjahtu wajhi ilayka, wa fawwadtu amri ilayka, wa alja'tu zahri ilayka raghbatan wa rahbatan ilayka, la malja'a wa la manja minka illa ilayka, amantu bi-kitabika alladhi anzalta wa bi-nabiyyika alladhi arsalta' (O Allah, I have submitted my soul to You, turned my face towards You, entrusted my affair to You, and placed my back under Your protection out of hope in You and fear of You. There is no refuge and no place of safety from You except with You. I believe in Your Book which You revealed and in Your Prophet whom You sent). (He (peace and blessings be upon him) said:) "So if he dies (that night), he dies upon the fitrah (the natural way of Islam)."