Abu Tariq al-Sa'di said: I was present with al-Hasan (may Allah have mercy on him) at the time of his death while he was making his will. He said to the scribe: "Write: In the name of Allah, the Most Gracious, the Most Merciful. This is what al-Hasan has testified: he testified that there is no true god except Allah and that Muhammad is the Messenger of Allah, truthfully from his heart. Whoever testifies to it truthfully at the time of his death will enter Paradise." I heard this, that Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him) also made this same bequest at the time of his death, and he used to narrate it from the Messenger of Allah (peace and blessings be upon him).
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17501