Abu Saeed Khudri reported,

We performed itikaf with the Messenger of Allah ﷺ during the middle ten days of Ramadan. On the morning of the twentieth, we moved our belongings out. Then the Messenger of Allah ﷺ came to us and said, "Whoever was performing itikaf, let him return to his place of seclusion, for I saw this Night, and I saw myself prostrating in water and mud."When he returned to his place of seclusion, the sky stirred and rain fell upon us. By the One who sent him with the truth, the sky stirred at the end of that day. The mosque was a structure of palm branches, and I saw the trace of water and mud on his nose and the tip of it.

Bukhari 2040

Sahih

حدثنا عبد الرحمن بن بشر حدثنا سفيان عن ابن جريج عن سليمان الأحول خال ابن أبي نجيح عن أبي سلمة عن أبي سعيد ح قال سفيان وحدثنا محمد بن عمرو عن أبي سلمة عن أبي سعيد ح قال وأظن أن ابن أبي لبيد حدثنا عن أبي سلمة

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

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

البخاري 2040صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Itikaf
Chapter
Leaving itikaf at dawn
Numbering
Darussalam 2040
Bukhari 2040