It was the practice of the Prophet (peace and blessings be upon him): "His (peace and blessings be upon him) eyes would sleep, but his heart would not sleep."