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."
أن رسول الله ﷺ قال: يخرج من النار أربعة، فيعرضون على الله، فيلتفت أحدهم فيقول: أي رب إذا أخرجتني فلا تعدني فيها، فينجيه الله منها.
Muslim narrated it in the Book of Faith (192) from Haddab bin Khalid Azdi, who said, Hammad bin Salama narrated to us, from Abu Imran and Thabit, from Anas bin Malik, and he mentioned it. These four are the ones included in the intercession of the Prophet ﷺ, as mentioned in the hadith of intercession.