Jami` at-Tirmidhi 2638
جامع الترمذي#2638SahihNarrated As-Sunabihi:from Ubadah bin As-Samit, he said: "I entered upon him while he was dying, so I cried, and he said: "There now, why are you crying? For by Allah, if I am a martyr , then I will intercede for you, and if I can I will benefit you,' then he said: 'By Allah! There is no Hadith which I heard from the Messenger of Allah (ﷺ) which is good for you but I narrate it to you today, while I am near death. I heard the Messenger of Allah (ﷺ) say: "Whoever testifies to La Ilaha Illallah and that Muhammad is the Messenger of Allah, then Allah has forbidden the fire for him
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Ahmad Muhammad ShakirHasan
Al-AlbaniHasan
Bashar Awad MaaroufHasan Sahih
Zubair Ali ZaiSahih - Bukhari And Muslim
In-book reference: 40:33