Abdullah bin Umar reported,

During the lifetime of the Messenger of Allah ﷺ, whenever a man had a dream, he would relate it to the Messenger of Allah ﷺ. So I wished that I might have a dream to relate to the Prophet ﷺ.I was a young, unmarried man at the time, and I used to sleep in the mosque during the era of the Messenger of Allah ﷺ. I saw in my sleep as though two angels had taken hold of me and brought me to the Fire. It was built up like the lining of a well, and it had two posts like the posts of a well. Inside it were people whom I recognized. I began to say, "I seek refuge with Allah from the Fire, I seek refuge with Allah from the Fire, I seek refuge with Allah from the Fire."Then another angel met them and said to me, "You will not be harmed."I related the dream to Hafsah, and Hafsah related it to the Messenger of Allah ﷺ.The Prophet ﷺ said, "What an excellent man Abdullah is, if only he would pray during the night."Salim said, After that, Abdullah would not sleep at night except for a little.

Muslim 6370

Sahih

حدثنا إسحق بن إبراهيم وعبد بن حميد واللفظ لعبد قالا أخبرنا عبد الرزاق أخبرنا معمر عن الزهري عن سالم

عن ابن عمر قال

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

مسلم 6370صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Companions, may Allah be pleased with them
Chapter
From the virtues of Abdullah bin Umar, may Allah be pleased with them both
Numbering
Darussalam 6370
Muslim 6370