(1) باب فِي الْجَنَائِزِ وَمَنْ كَانَ آخِرُ كَلاَمِهِ لاَ إِلَهَ إِلاَّ اللَّهُ
Narrated `Abdullah:
Allah's Messenger (ﷺ) said, "Anyone who dies worshipping others along with Allah will definitely enter the Fire." I said, "Anyone who dies worshipping none along with Allah will definitely enter Paradise."
Reference: Sahih al-Bukhari 1238
In-book reference: Book 23, Hadith 2
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 23, Hadith 330