Alexandre Dumas said this quote

In all well-organised brains, the predominating idea—and there always is one—is sure to be the last thought before sleeping, and the first upon waking in the morning. Andrea had scarcely opened his eyes when his predominating idea presented itself, and whispered in his ear that he had slept too long.