burn the midnight oil

[burn the midnight oil] {v. phr.} To study late at night.

Exam time was near, and more and more pupils were burning the midnight oil.