The Messenger of Allah ﷺ said, "Whoever dies bearing witness that there is no god but Allah and that Muhammad is the Messenger of Allah, sincerely from his heart, will enter Paradise."
قال رسول الله ﷺ: من مات وهو يشهد أن لا إله إلا الله، وأن محمدا رسول الله صادقا من قلبه، دخل الجنة.
Ahmad (22003), Nasai in Amal al-Yawm wal-Layla (1134), Ibn Khuzayma in Tawhid (514), and Tabarani in Kabir (20/47) all narrated it through Muhammad bin Jafar, who said, "Shuba narrated to us from Qatada, from Anas, from Muaz," who said, and then he mentioned it. Its isnad is sahih.