Anas bin Malik reported,

The Messenger of Allah ﷺ said, "A man from among the people of Paradise will be brought forward, and he will be asked, 'Son of Adam, how did you find your dwelling?'He will reply, 'My Lord, the finest of dwellings.'Allah will say, 'Ask and wish for whatever you desire.'He will say, 'I ask and wish only that You return me to the world so that I may be killed in Your cause ten times over,' for he sees the great honor granted to the martyrs.Then a man from among the people of the Fire will be brought forward, and he will be asked, 'Son of Adam, how did you find your dwelling?'He will reply, 'My Lord, the worst of dwellings.'Allah will say to him, 'Would you ransom yourself from it with an earth full of gold?'He will say, 'Yes, my Lord.'Allah will say, 'You lie. I asked of you something far less and easier than that, yet you did not do it.' Then he will be returned to the Fire."

Ahmad 13162

Sahih

حدثنا روح وعفان قالا حدثنا حماد عن ثابت

عن أنس قال

قال رسول الله ﷺ يؤتى بالرجل من أهل الجنة فيقول له يا ابن آدم كيف وجدت منزلك فيقول أي رب خير منزل فيقول سل وتمن فيقول ما أسأل وأتمنى إلا أن تردني إلى الدنيا فأقتل في سبيلك عشر مرات لما يرى من فضل الشهادة ويؤتى بالرجل من أهل النار فيقول له يا ابن آدم كيف وجدت منزلك فيقول أي رب شر منزل فيقول له أتفتدي منه بطلاع الأرض ذهبا فيقول أي رب نعم فيقول كذبت قد سألتك أقل من ذلك وأيسر فلم تفعل فيرد إلى النار

أحمد 13162صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 13162
Ahmad 13162