Man Lā Yaḥḍuruh al-Faqīh
Hadith 5162087 - قَالَ: «وَ كَانَ رَسُولُ اَللَّهِ صَلَّى اَللَّهُ عَلَيْهِ وَ آلِهِ إِذَا كَانَ اَلْعَشْرُ اَلْأَوَاخِرُ اِعْتَكَفَ فِي اَلْمَسْجِدِ وَ ضُرِبَتْ لَهُ قُبَّةٌ مِنْ شَعْرٍ وَ شَمَّرَ اَلْمِئْزَرَ وَ طَوَى فِرَاشَهُ » وَ قَالَ بَعْضُهُمْ وَ اِعْتَزَلَ اَلنِّسَاءَ فَقَالَ أَبُو عَبْدِ اَللَّهِ عَلَيْهِ اَلسَّلاَمُ «أَمَّا اِعْتِزَالُ اَلنِّسَاءِ فَلاَ».
Hadith.2087 - It is narrated:
"When the last ten nights of Month of Ramadan arrived, the Messenger of Allah (swt) (peace and blessings be upon him and his family) would perform i'tikaf in the mosque. A tent made of hair would be set up for him, he would tighten his waist wrap, and he would fold up his bedding."
Some people said he would also avoid the company of women.
Regarding this, Abu Abdullah (as) said: "As for avoiding women, no."