Sahih Bukhari Volume 003, Book 033, Hadith Number 245.

Narated By '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.