Al-Adab Al-Mufrad, Book 48, Hadith 1184 (In-Book)

Anas ibn Malik related that the Prophet, may Allah bless him and grant him peace, prayed Dhuhr with them. When he said the taslim, he stood on the minbar and talked about the Final Hour. He mentioned terrible things about it. Then he said, 'Whoever wants to ask about something should ask about it. By Allah, whatever you ask me about, I will tell you as long as I am in this place.' People wept a great deal when they heard the Messenger of Allah, may Allah bless him and grant him peace, say that. The Messenger of Allah, may Allah bless him and grant him peace, repeated frequently, 'Ask.' 'Umar knelt on knees and said, 'We are content with Allah as Lord, with Islam as (the) deen, and with Muhammad as Messenger.' The Prophet, may Allah bless him and grant him peace, was silent when 'Umar said that. Then the Messenger of Allah, may Allah bless him and grant him peace, said, 'Better! By the One in Whose hand the soul of Muhammad is, I have been shown the Garden and the Fire inside this garden while I was praying. I have not seen any good and evil such as I have seen this day.'"

حَدَّثَنَا يَحْيَى بْنُ صَالِحٍ، قَالَ‏:‏ حَدَّثَنَا إِسْحَاقُ بْنُ يَحْيَى الْكَلْبِيُّ، قَالَ‏:‏ حَدَّثَنَا الزُّهْرِيُّ، قَالَ‏:‏ حَدَّثَنَا أَنَسُ بْنُ مَالِكٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم صَلَّى بِهِمُ الظُّهْرَ، فَلَمَّا سَلَّمَ قَامَ عَلَى الْمِنْبَرِ فَذَكَرَ السَّاعَةَ، وَذَكَرَ أَنَّ فِيهَا أُمُورًا عِظَامًا، ثُمَّ قَالَ‏:‏ مَنْ أَحَبَّ أَنْ يَسْأَلَ عَنْ شَيْءٍ فَلْيَسْأَلْ عَنْهُ، فَوَاللَّهِ لاَ تَسْأَلُونِي عَنْ شَيْءٍ إِلاَّ أَخْبَرْتُكُمْ مَا دُمْتُ فِي مَقَامِي هَذَا، قَالَ أَنَسٌ‏:‏ فَأَكْثَرَ النَّاسُ الْبُكَاءَ حِينَ سَمِعُوا ذَلِكَ مِنْ رَسُولِ اللهِ صلى الله عليه وسلم، وَأَكْثَرَ رَسُولُ اللهِ صلى الله عليه وسلم أَنْ يَقُولَ‏:‏ سَلُوا، فَبَرَكَ عُمَرُ عَلَى رُكْبَتَيْهِ وَقَالَ‏:‏ رَضِينَا بِاللَّهِ رَبًّا، وَبِالإِسْلاَمِ دِينًا، وَبِمُحَمَّدٍ رَسُولاً، فَسَكَتَ رَسُولُ اللهِ صلى الله عليه وسلم حِينَ قَالَ ذَلِكَ عُمَرُ، ثُمَّ قَالَ رَسُولُ اللهِ صلى الله عليه وسلم‏:‏ أَوْلَى، أَمَا وَالَّذِي نَفْسُ مُحَمَّدٍ بِيَدِهِ، لَقَدْ عُرِضَتْ عَلَيَّ الْجَنَّةُ وَالنَّارُ فِي عُرْضِ هَذَا الْحَائِطِ، وَأَنَا أُصَلِّي، فَلَمْ أَرَ كَالْيَوْمِ فِي الْخَيْرِ وَالشَّرِّ‏.‏

sunnah.com