Studying early in the morning, or at night?

So, just asking for a friend, and wanted to know which one is overall better. He tends to stay up kinda late studying, and wake up early the next morning exhausted. Is it better to just study early in the morning?
Studying early in the morning, or at night?
Post Opinion