Anas bin Malik reported,

The Messenger of Allah ﷺ said, "Four people will be brought out of the Fire and presented before Allah. One of them will turn and say, 'My Lord, since You have brought me out, do not return me to it.' So Allah will save him from it."

Azami 75

Sahih

عن أنس بن مالك

أن رسول الله ﷺ قال: يخرج من النار أربعة، فيعرضون على الله، فيلتفت أحدهم فيقول: أي رب إذا أخرجتني فلا تعدني فيها، فينجيه الله منها.

الأعظمي 75صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Qualities of faith
Section
Who died upon monotheism will enter Paradise
Numbering
Jami al-Kamil 75 (2nd edition)
Azami 75