Sahih Muslim Book 20, Hadith Number 4727.

Chapter : Undesirability of returning to one’s family at night (after a long absence from home).

It has been narrated on the authority of Jabir b. ‘Abdullah who said: We accompanied the Messenger of Allah (may peace be upon him) on an expedition. When we came (back) to Medina and were going to enter our houses, he said: Wait and enter (your houses) in the later part of the evening so that a woman with dishevelled hair may have used the comb, and a woman whose husband has been away from home may have removed the hair from her private parts.