[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, ﷺ .
شَهِدْتُ الْحَسَنَ عِنْدَ مَوْتِهِ وَهُوَ يُوصِي فَقَالَ لِلْكَاتِبِ اكْتُبْ بِسْمِ اللهِ الرَّحْمَنِ الرَّحِيمِ هَذَا مَا شَهِدَ الْحَسَنُ «شَهِدَ أَنْ لَا إِلَهَ إِلَّا اللهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللهِ صَادِقًا مِنْ قَلْبِهِ مَنْ شَهِدَ بِهَا عِنْدَ مَوْتِهِ صَادِقًا دَخَلَ الْجَنَّةَ» سَمِعْتُ ذَلِكَ عَنْ مُعَاذِ بْنِ جَبَلٍ أَوْصَى بِهَا عِنْدَ مَوْتِهِ يَرْوِي ذَلِكَ عَنْ رَسُولِ اللهِ ﷺ