The Prophet ﷺ said, "The last person to enter Paradise will be a man walking across the Sirat. At times he stumbles, at times he walks, and at times the fire scorches him. When he finally crosses the Sirat, he will turn back toward it and say, 'Blessed is He who has saved me from you. Allah has given me something He has not given to anyone among the earlier or later peoples.'Then a tree will be raised up for him. He will look at it and say, 'My Lord, bring me close to this tree so I may take shelter in its shade and drink from its water.'Allah will say, 'My servant, perhaps if I bring you close to it, you will ask Me for something else.'The man will say, 'No, my Lord,' and he will give Allah his solemn promise that he will not ask for anything else. Yet the Lord, blessed and exalted is He, knows that he will indeed ask for more, because the man sees what he cannot bear to resist. So Allah will bring him close to it.Then another tree will be raised up for him, more beautiful than the first. The man will say, 'My Lord, bring me close to this tree so I may take shelter in its shade and drink from its water.'Allah will say, 'My servant, did you not give Me your promise that you would not ask Me for anything else?'The man will say, 'My Lord, only this one. I will not ask You for anything else,' and he will give his promise. The Lord knows that he will ask for more, but He will bring him close to it.Then another tree will be raised up for him at the gate of Paradise, more beautiful still than the others. The man will say, 'My Lord, bring me close to this tree so I may take shelter in its shade and drink from its water.'Allah will say, 'My servant, did you not promise Me that you would not ask Me for anything else?'The man will say, 'My Lord, only this tree. I will not ask You for anything else,' and he will give his promise. The Lord knows that he will ask for more, because he sees what he cannot bear to resist. So Allah will bring him close to it.Then he will hear the voices of the people of Paradise, and he will say, 'My Lord, Paradise, Paradise!'Allah will say, 'My servant, did you not promise Me that you would not ask Me for anything else?'The man will say, 'My Lord, admit me into Paradise.'Then Allah, blessed and exalted is He, will say, 'What will satisfy your demands of Me, My servant? Would it please you if I gave you the world and its like along with it as part of Paradise?'The man will say, 'Are You mocking me, when You are the Lord of Might?'"Abdullah laughed until his back teeth showed, then he said, "Will you not ask me why I laughed?"They said to him, "Why did you laugh?"He replied, "Because the Messenger of Allah ﷺ laughed. Then the Messenger of Allah ﷺ said to us, 'Will you not ask me why I laughed?'They said, 'Why did you laugh, Messenger of Allah?'He said, 'Because the Lord laughed when the man said, Are You mocking me, when You are the Lord of Might?'"
حدثنا يزيد أخبرنا حماد بن سلمة عن ثابت البناني عن أنس بن مالك
عن النبي ﷺ قال إن آخر من يدخل الجنة رجل يمشي على الصراط فينكب مرة ويمشي مرة وتسفعه النار مرة فإذا جاوز الصراط التفت إليها فقال تبارك الذي نجاني منك لقد أعطاني الله ما لم يعط أحدا من الأولين والآخرين قال فترفع له شجرة فينظر إليها فيقول يا رب أدنني من هذه الشجرة فأستظل بظلها وأشرب من مائها فيقول أي عبدي فلعلي إن أدنيتك منها سألتني غيرها فيقول لا يا رب ويعاهد الله أن لا يسأله غيرها والرب عز وجل يعلم أنه سيسأله لأنه يرى ما لا صبر له يعني عليه فيدنيه منها ثم ترفع له شجرة وهي أحسن منها فيقول يا رب أدنني من هذه الشجرة فأستظل بظلها وأشرب من مائها فيقول أي عبدي ألم تعاهدني يعني أنك لا تسألني غيرها فيقول يا رب هذه لا أسألك غيرها ويعاهده والرب يعلم أنه سيسأله غيرها فيدنيه منها فترفع له شجرة عند باب الجنة هي أحسن منها فيقول رب أدنني من هذه الشجرة أستظل بظلها وأشرب من مائها فيقول أي عبدي ألم تعاهدني أن لا تسألني غيرها فيقول يا رب هذه الشجرة لا أسألك غيرها ويعاهده والرب يعلم أنه سيسأله غيرها لأنه يرى ما لا صبر له عليها فيدنيه منها فيسمع أصوات أهل الجنة فيقول يا رب الجنة الجنة فيقول عبدي ألم تعاهدني أنك لا تسألني غيرها فيقول يا رب أدخلني الجنة قال فيقول عز وجل ما يصريني منك أي عبدي أيرضيك أن أعطيك من الجنة الدنيا ومثلها معها قال فيقول أتهزأ بي وأنت رب العزة قال فضحك عبد الله حتى بدت نواجذه ثم قال ألا تسألوني لم ضحكت قالوا له لم ضحكت قال لضحك رسول الله ﷺ ثم قال لنا رسول الله ﷺ ألا تسألوني لم ضحكت قالوا لم ضحكت يا رسول الله قال لضحك الرب حين قال أتهزأ بي وأنت رب العزة
Its isnad is sahih. Muslim (1:68-69) also related it through Affan from Hammad bin Salama, with this same isnad, adding at the end, "So He will say, 'I am not mocking you, but I am able to do whatever I will.'" Part of its meaning has already appeared in abbreviated form through another route at 3595.