One who occupies himself with Torah at night is as though he were engaged in the Temple service.
Sefer HaMidos, Torah Study, Part I §41