Ubada bin Samit reported,

I came in to see him while he was dying, and I wept. He said, "Hold on. Why are you weeping? By Allah, if I am granted martyrdom, I will testify on your behalf. If I am allowed to intercede, I will intercede for you. And if I am able, I will benefit you."Then he said, "By Allah, there is no hadith I heard from the Messenger of Allah ﷺ containing good for you that I have not already related to you, except for one hadith, and I will tell it to you today, now that death has surrounded me. I heard the Messenger of Allah ﷺ say, 'Whoever testifies that there is no god but Allah and that Muhammad is the Messenger of Allah, Allah will forbid the Fire from touching him.'"

Muslim 142

Sahih

حدثنا قتيبة بن سعيد حدثنا ليث عن ابن عجلان عن محمد بن يحيى بن حبان عن ابن محيريز عن الصنابحي

عن عبادة بن الصامت أنه قال

دخلت عليه وهو في الموت فبكيت فقال مهلا لم تبكي فوالله لئن استشهدت لأشهدن لك ولئن شفعت لأشفعن لك ولئن استطعت لأنفعنك ثم قال والله ما من حديث سمعته من رسول الله ﷺ لكم فيه خير إلا حدثتكموه إلا حديثا واحدا وسوف أحدثكموه اليوم وقد أحيط بنفسي سمعت رسول الله ﷺ يقول من شهد أن لا إله إلا الله وأن محمدا رسول الله حرم الله عليه النار

مسلم 142صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Whoever meets Allah with faith, not doubting it, will enter Paradise and be forbidden to the Fire
Numbering
Darussalam 142
Muslim 142