عَنْ مُعَاذِ بْنِ جَبَلٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ كَانَ آخِرُ كَلَامِهِ لَا إِلَهَ إِلَّا اللَّهُ دَخَلَ الْجَنَّةَ» رَوَاهُ أَبُو دَاوُد
Translation

Mu`adh b. Jabal reported God’s messenger as saying, “If anyone’s last words are ‘There is no god but God,’ he will enter paradise.” Abu Dawud transmitted it.