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.
tabarani:17564ʿAlī b. ʿAbd al-ʿAzīz > Muslim b. Ibrāhīm > Ḥumayd b. Mihrān > Abū Ṭāriq al-Saʿdī > Shahidt al-Ḥasan ʿInd Mawtih / Yūṣī

[Machine] I witnessed Al-Hasan at the time of his death while he was giving his final instructions. He said to the scribe, "Write, In the name of Allah, the Most Gracious, the Most Merciful. This is what Al-Hasan witnessed: that there is no god but Allah, and that Muhammad is the Messenger of Allah. He testified to this sincerely from his heart. Whoever testifies to it sincerely at the time of his death will enter Paradise." I heard this from Mu'adh bin Jabal, who reported it from the Messenger of Allah, ﷺ .  

الطبراني:١٧٥٦٤حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ الْعَزِيزِ ثنا مُسْلِمُ بْنُ إِبْرَاهِيمَ ثنا حُمَيْدُ بْنُ مِهْرَانَ حَدَّثَنِي أَبُو طَارِقٍ السَّعْدِيُّ قَالَ

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