The Messenger of Allah ﷺ said, "Whoever dies knowing that there is no god but Allah will enter Paradise."
حدثنا إسماعيل عن خالد الحذاء عن الوليد أبي بشر عن حمران
قال رسول الله ﷺ من مات وهو يعلم أنه لا إله إلا الله دخل الجنة
Its isnad is sahih. Ismail is Ibn Ulaya. This hadith is a repeat of 464. The phrase reads "annahu la ilaha illallah" in manuscript K, while in H it reads "an la ilaha illallah". In the margin of K there is a variant reading, "annahu", as it appears here.