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.
muslim:2710dYaḥyá b. Yaḥyá > Abū al-Aḥwaṣ > Abū Isḥāq > al-Barāʾ b. ʿĀzib

O, so and so, as you go to your bed; the rest of the hadith is the same but with this variation of wording that he said:" Thine Apostle whom Thou sent." If you die that night you would die on Fitra and if you get up in the morning you would get up with a bliss.  

مسلم:٢٧١٠dحَدَّثَنَا يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا أَبُو الأَحْوَصِ عَنْ أَبِي إِسْحَاقَ عَنِ الْبَرَاءِ بْنِ عَازِبٍ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ لِرَجُلٍ يَا فُلاَنُ إِذَا أَوَيْتَ إِلَى فِرَاشِكَ بِمِثْلِ حَدِيثِ عَمْرِو بْنِ مُرَّةَ غَيْرَ أَنَّهُ قَالَ وَبِنَبِيِّكَ الَّذِي أَرْسَلْتَ فَإِنْ مُتَّ مِنْ لَيْلَتِكَ مُتَّ عَلَى الْفِطْرَةِ وَإِنْ أَصْبَحْتَ أَصَبْتَ خَيْرًا