The Messenger of Allah ﷺ used to lean his head into my room while he was in the mosque, and I would comb his hair. He would not enter the house except for a need, and he would not enter for ablution while in spiritual retreat.
حدثنا عثمان بن عمر قال أخبرنا يونس عن الزهري عن عروة أن
وإن كان رسول الله ﷺ ليدخل علي رأسه وهو في المسجد فأرجله وكان لا يدخل البيت إلا لحاجة إلا إذا أراد الوضوء وهو معتكف