In the name of Allah, Most Gracious, Most Merciful.
Anas bin Malik (May Allah be pleased with him) reported: the Messenger of Allah (May Allah exalt his mention and protect him from imperfection) said: “Among the inmates of Hell, a person who had led the most luxurious life in this world will be brought up on the Day of Resurrection and dipped in the Fire and will be asked: ‘O son of Adam! Did you ever experience any comfort? Did you happen to get any luxury?’ He will reply: ‘By Allah, no, my Rubb (Lord).’ And then one of the people of Jannah who had experienced extreme misery in the life of this world will be dipped in Jannah. Then he will be asked: ‘O son of Adam! Did you ever experience any misery? Did you ever encounter difficulty?’ He will say: “By Allah, no my Rubb, I neither experienced misery nor passed through hardship”. (Muslim)
Commentary: This Hadith also induces one to work for the life of the Hereafter, as the amenities of this world which one strives hard to attain, and for which one violates the injunctions of Shariah, will be forgotten with a glimpse of the Hell-fire. Therefore, the sensible course is that one should adopt a way of life which is full of true faith and good deeds so that one becomes eligible for the eternal blessings and joys of the life of the Hereafter in Jannah.
Riyaadiss-Saliheen (The Meadows of the Righteous)
By Imam An Nawawi
Chapter 55, Page 156, No 462