Sunan Abu Dawud 3116
Funerals (Kitab Al-Jana'iz)
حَدَّثَنَا مَالِكُ بْنُ عَبْدِ الْوَاحِدِ الْمِسْمَعِيُّ، حَدَّثَنَا الضَّحَّاكُ بْنُ مَخْلَدٍ، حَدَّثَنَا عَبْدُ الْحَمِيدِ بْنُ جَعْفَرٍ، حَدَّثَنِي صَالِحُ بْنُ أَبِي عَرِيبٍ، عَنْ كَثِيرِ بْنِ مُرَّةَ، عَنْ مُعَاذِ بْنِ جَبَلٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَنْ كَانَ آخِرُ كَلاَمِهِ لاَ إِلَهَ إِلاَّ اللَّهُ دَخَلَ الْجَنَّةَ " .
Narrated Mu’adh bin Jabal :The Messenger of Allah (ﷺ) as saying: If anyone's last words are "There is no god but Allah" he will enter Paradise
Grading: Al-Albani: Sahih · Muhammad Muhyi Al-Din Abdul Hamid: Sahih · Shuaib Al Arnaut: Hasan · Zubair Ali Zai: Isnaad Hasan
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.