Retiring to a Mosque for Remembrance of Allah (I'tikaf)
Bukhari :: Book 3 :: Volume 33 :: Hadith 245
Narrated 'Aisha:
The Prophet used to (put) bend his head (out) to me while he was in Itikaf in the mosque during my monthly periods and I would comb and oil his hair.