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 of it, do not return me to it.' So Allah will deliver him from it."

Azami 152

Sahih

عن أنس بن مالك

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

الأعظمي 152صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Qualities of faith
Section
Good opinion of Allah coupled with fear and hope
Numbering
Jami al-Kamil 152 (2nd edition)
Azami 152