Sunan Ibn Majah, Book 33, Hadith 140 (Ibn Majah 3798)

It was narrated from Mu'adh bin Jabal that the :

Messenger of Allah(ﷺ) said: "There is no soul that died bearing witness to La ilaha illallah, and that I am the Messenger of Allah, from the heart with certainity, but Allah will forgive it."