Burn the midnight oil

When somebody works or studies late at night

Examples

Samuel is burning the midnight oil. He is going to take the exams next week.