Narrated Muadh bin Jabal: The Messenger of Allah ﷺ as saying: If anyone's last words are "There is no god but Allah" he will enter Paradise.
Related hadith on this topic
Brief Explanation
1؎: For this reason, at the time of death, one should say «لا إله إلا الله» near the dying person so that this phrase may also be uttered upon his tongue.