Anas bin Malik reported,

The people kept questioning the Prophet of Allah ﷺ until they pressed him with their questions. So one day he went out, ascended the pulpit, and said, "Ask me. You will not ask me about anything except that I will explain it to you."When the people heard that, they fell silent and grew fearful that some grave matter was about to befall them.Anas said, I began looking right and left, and there was every man with his head wrapped in his garment, weeping. Then a man from the mosque, who used to be quarreled with and called the son of someone other than his father, spoke up and said, "Prophet of Allah, who is my father?"He replied, "Your father is Hudhafah."Then Umar bin Khattab رضي الله عنه spoke up and said, "We are pleased with Allah as Lord, with Islam as religion, and with Muhammad as Messenger. We seek refuge in Allah from the evil of trials."The Messenger of Allah ﷺ said, "I have never seen anything like today in good and evil. Paradise and the Fire were depicted for me, and I saw them both right here, beyond this wall."

Muslim 6123

Sahih

حدثنا يوسف بن حماد المعني حدثنا عبد الأعلى عن سعيد عن قتادة

عن أنس بن مالك

أن الناس سألوا نبي الله ﷺ حتى أحفوه بالمسألة فخرج ذات يوم فصعد المنبر فقال سلوني لا تسألوني عن شيء إلا بينته لكم فلما سمع ذلك القوم أرموا ورهبوا أن يكون بين يدي أمر قد حضر قال أنس فجعلت ألتفت يمينا وشمالا فإذا كل رجل لاف رأسه في ثوبه يبكي فأنشأ رجل من المسجد كان يلاحى فيدعى لغير أبيه فقال يا نبي الله من أبي قال أبوك حذافة ثم أنشأ عمر بن الخطاب رضي الله عنه فقال رضينا بالله ربا وبالإسلام دينا وبمحمد رسولا عائذا بالله من سوء الفتن فقال رسول الله ﷺ لم أر كاليوم قط في الخير والشر إني صورت لي الجنة والنار فرأيتهما دون هذا الحائط

مسلم 6123صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues
Chapter
Honoring him ﷺ and refraining from asking him excessive questions about what is unnecessary or not
Numbering
Darussalam 6123
Muslim 6123