Swann's Way by Marcel Proust
The narrator used to fall asleep quickly, sometimes even before blowing out the candle. Waking up just half an hour later, the narrator would feel the need to sleep again. The narrator would continue reflecting on the book they were reading even while asleep. These reflections were unusual, making the narrator feel like they were part of the book's narrative.