Hadithcore
Mishkat al-Masabih, 1621

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.

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

References1 variant
In-Book Reference
Book 5, Hadith 97