When the Messenger of Allah ﷺ observed I'tikaf, he would put his head near me, and I would comb it. and he entered the house only to fulfill human needs (i.e. to urinate or to relieve himself). (Using translation from Abū Dāʾūd 2467)
كَانَ رَسُولُ اللهِ ﷺ يُدْنِي إِلَيَّ رَأْسَهُفَأُرَجِّلُهُ وَأَنَا حَائِضٌ وَهُوَ مُعْتَكِفٌ وَكَانَ لَا يَدْخُلُ الْبَيْتَ إِلَّا لِحَاجَةِ الْإِنْسَانِ