← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #1957 · Retiring to a Mosque for Remembrance of Allah (I'tikaf)

Narrated `Aisha:

حَدَّثَنَا مُحَمَّدُ بْنُ يُوسُفَ، حَدَّثَنَا سُفْيَانُ، عَنْ مَنْصُورٍ، عَنْ إِبْرَاهِيمَ، عَنِ الأَسْوَدِ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ قَالَتْ كَانَ النَّبِيُّ صلى الله عليه وسلم يُبَاشِرُنِي وَأَنَا حَائِضٌ‏.‏ وَكَانَ يُخْرِجُ رَأْسَهُ مِنَ الْمَسْجِدِ وَهْوَ مُعْتَكِفٌ فَأَغْسِلُهُ وَأَنَا حَائِضٌ‏.‏

The Prophet (ﷺ) used to embrace me during my menses. He also used to put his head out of the mosque
while he was in I`tikaf, and I would wash it during my menses.