It was the practice of the Prophet (peace and blessings be upon him): "He (peace and blessings be upon him) would not come upon his family unexpectedly at night."