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:13024Bakr b. Sahl > ʿAbdullāh b. Ṣāliḥ > Muʿāwiyah b. Ṣāliḥ > ʿAlī b. Abū Ṭalḥah > Ibn ʿAbbās

[Machine] The Messenger of Allah ﷺ said: "Teach your deceased ones to testify that there is no god but Allah, for whoever says it when he dies, Paradise will be obligatory for him." They said: "O Messenger of Allah, what about the one who says it in good health?" He said: "It is obligatory in both cases." Then he said: "By the One in Whose hand is my soul, if the heavens and the earth and all that is in them and what is between them and what is beneath them were brought and placed in one scale, and the testimony that there is no god but Allah was placed in the other scale, it would outweigh them."  

الطبراني:١٣٠٢٤حَدَّثَنَا بَكْرُ بْنُ سَهْلٍ ثنا عَبْدُ اللهِ بْنُ صَالِحٍ حَدَّثَنِي مُعَاوِيَةُ بْنُ صَالِحٍ عَنْ عَلِيِّ بْنِ أَبِي طَلْحَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

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


See similar narrations below:

Collected by Suyūṭī
suyuti:17448a
Request/Fix translation

  

السيوطي:١٧٤٤٨a

"لَقِّنُوا مَوْتَاكُمْ: شَهَادَةَ أن لَا إِلَهَ إلا اللهُ، فَمَنْ قَالها عِنْدَ مَوْتِهِ وَجَبَتْ لَهُ (فِي) الجَنَّةِ، قَالُوا: يَا رَسُولُ الله، فَمَنْ قَالهَا فِي صِحَّتِه؟ ، قال: تِلْكَ أَوْجَبُ وَأوْجَبُ، وَالَّذِى نَفْسِى بيَدِه لَوْ جَيئَ بِالسَّمَاوَاتِ والأَرَاضينَ وَمَنْ فيهنَّ وَمَا بَينهنَّ وَمَا تَحْتَهُنَّ فَوُضعَتْ فِي كِفَّةِ الْمِيزَانِ، وَوُضعَتْ شَهَادَةُ أنْ لَا إِلَهَ إلا الله فِي الْكِفَّةِ الأُخْرى، لَرَجَحَتْ بِهنَّ".  

[طب] الطبرانى في الكبير عن ابن عباس