The Messenger of Allah ﷺ used to perform itikaf during the middle ten days of Ramadan. When the evening of the twentieth night had passed and the twenty-first was beginning, he would return to his home, and those who had been performing itikaf with him would also return.One Ramadan, he remained in itikaf through the night on which he would normally have returned home. He addressed the people and instructed them with whatever Allah willed, then said, "I used to perform itikaf during these ten days, but it has now occurred to me that I should perform itikaf during these last ten days. So whoever was in itikaf with me, let him remain in his place of itikaf. I was shown this night, then I was made to forget it, so seek it in the last ten nights, and seek it on every odd night. I saw myself prostrating in water and mud."That night the sky poured down rain, and the roof of the mosque leaked over the place where the Prophet ﷺ used to pray on the twenty-first night. My own eyes saw the Messenger of Allah ﷺ, and I looked at him as he finished the dawn prayer with his face covered in mud and water.
حدثنا إبراهيم بن حمزة قال حدثني ابن أبي حازم والدراوردي عن يزيد بن الهاد عن محمد بن إبراهيم عن أبي سلمة
كان رسول الله ﷺ يجاور في رمضان العشر التي في وسط الشهر فإذا كان حين يمسي من عشرين ليلة تمضي ويستقبل إحدى وعشرين رجع إلى مسكنه ورجع من كان يجاور معه وأنه أقام في شهر جاور فيه الليلة التي كان يرجع فيها فخطب الناس فأمرهم ما شاء الله ثم قال كنت أجاور هذه العشر ثم قد بدا لي أن أجاور هذه العشر الأواخر فمن كان اعتكف معي فليثبت في معتكفه وقد أريت هذه الليلة ثم أنسيتها فابتغوها في العشر الأواخر وابتغوها في كل وتر وقد رأيتني أسجد في ماء وطين فاستهلت السماء في تلك الليلة فأمطرت فوكف المسجد في مصلى النبي ﷺ ليلة إحدى وعشرين فبصرت عيني رسول الله ﷺ ونظرت إليه انصرف من الصبح ووجهه ممتلئ طينا وماء