Sahih Muslim , Book 1, Hadith 382 (In-Book)

It is narrated on the authority of Anas b. Malik that the Messenger of Allah said: Four persons would be brought out from the Fire and would be presented to Allah. One of them would turn (towards the He) ) ) and say: O my Lord, when Thou hast brought me out from it, do not throw me back into it, and Allah would rescue him from it.

حَدَّثَنَا هَدَّابُ بْنُ خَالِدٍ الأَزْدِيُّ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ أَبِي عِمْرَانَ، وَثَابِتٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ يَخْرُجُ مِنَ النَّارِ أَرْبَعَةٌ فَيُعْرَضُونَ عَلَى اللَّهِ فَيَلْتَفِتُ أَحَدُهُمْ فَيَقُولُ أَىْ رَبِّ إِذْ أَخْرَجْتَنِي مِنْهَا فَلاَ تُعِدْنِي فِيهَا ‏.‏ فَيُنْجِيهِ اللَّهُ مِنْهَا ‏" ‏ ‏.‏

sunnah.com