Abu Saeed Khudri reported,

The Messenger of Allah ﷺ used to perform spiritual retreat during the middle ten days of the month. When twenty nights had passed and the twenty-first was beginning, he would return to his residence, and those who had been in retreat with him would also return.Then one year, during the month in which he performed his retreat, he stayed through that night on which he would normally return. He addressed the people and instructed them as Allah willed, then said, "I used to perform retreat during these ten days, but it has now occurred to me to perform retreat during the last ten. So whoever was in retreat with me, let him remain in his place of retreat. I was shown this night, but then I was made to forget it, so seek it in the last ten nights, on every odd night. I have seen myself prostrating in water and mud."Abu Saeed Khudri said, "It rained on the night of the twenty-first, and the roof of the mosque leaked over the prayer spot of the Messenger of Allah ﷺ. I looked at him after he had finished the dawn prayer, and his face was wet with mud and water."

Muslim 2769

Sahih

حدثنا قتيبة بن سعيد حدثنا بكر وهو ابن مضر عن ابن الهاد عن محمد بن إبراهيم عن أبي سلمة بن عبد الرحمن

عن أبي سعيد الخدري رضي الله عنه قال

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

مسلم 2769صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Fasting
Chapter
Virtue of Laylat al-Qadr, encouragement to seek it, its location, and the most likely times to seek it
Numbering
Darussalam 2769
Muslim 2769