Sahih Muslim 186 b
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنِّي لأَعْرِفُ آخِرَ أَهْلِ النَّارِ خُرُوجًا مِنَ النَّارِ رَجُلٌ يَخْرُجُ مِنْهَا زَحْفًا فَيُقَالُ لَهُ انْطَلِقْ فَادْخُلِ الْجَنَّةَ - قَالَ - فَيَذْهَبُ فَيَدْخُلُ الْجَنَّةَ فَيَجِدُ النَّاسَ قَدْ أَخَذُوا الْمَنَازِلَ فَيُقَالُ لَهُ أَتَذْكُرُ الزَّمَانَ الَّذِي كُنْتَ فِيهِ فَيَقُولُ نَعَمْ . فَيُقَالُ لَهُ تَمَنَّ . فَيَتَمَنَّى فَيُقَالُ لَهُ لَكَ الَّذِي تَمَنَّيْتَ وَعَشَرَةُ أَضْعَافِ الدُّنْيَا - قَالَ - فَيَقُولُ أَتَسْخَرُ بِي وَأَنْتَ الْمَلِكُ "
It is narrated on the authority of Abdullah b. Mas'ud that the Messenger of Allah (ﷺ said:
I recognise the last of the inhabitants of Fire to be taken out thereof. A man will come out of it crawling. It will be said to him: Go and enter Paradise. He (the Holy Prophet) said: He would go there to enter Paradise, but would find persons who have already occupied all its apartments. It would be said to him: Do you recall the time when you were in it (in the Hell)? He would say: Yes. It would be said to him: Express any desire. And he would express the desire. It would be said to him: For you is that which you desireth and ten times the world (worldly resources). He (the Holy Prophet) said: He would say: Art You making a fun of me, though You are the King? I saw the Messenger of Allah laugh till his front teeth were visible.
Full reference and source
Sahih Muslim 186 b In-book : Book 1, Hadith 369 USC-MSA web (English) : Book 1, Hadith 360 (deprecated)
View source on Sunnah.com (opens in a new tab)