كتاب الإيمان
1  
The Book of Faith
(84)
Chapter: The Status of the Lowest people in paradise
(84)
باب أَدْنَى أَهْلِ الْجَنَّةِ مَنْزِلَةً فِيهَا ‏‏
Sahih Muslim 192

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.
حَدَّثَنَا هَدَّابُ بْنُ خَالِدٍ الأَزْدِيُّ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ أَبِي عِمْرَانَ، وَثَابِتٍ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ يَخْرُجُ مِنَ النَّارِ أَرْبَعَةٌ فَيُعْرَضُونَ عَلَى اللَّهِ فَيَلْتَفِتُ أَحَدُهُمْ فَيَقُولُ أَىْ رَبِّ إِذْ أَخْرَجْتَنِي مِنْهَا فَلاَ تُعِدْنِي فِيهَا ‏.‏ فَيُنْجِيهِ اللَّهُ مِنْهَا ‏"‏ ‏.‏
Reference : Sahih Muslim 192
In-book reference : Book 1, Hadith 380
USC-MSA web (English) reference : Book 1, Hadith 372
  (deprecated numbering scheme)