While You Were Sleeping is a 1995 romantic comedy film directed by Jon Turteltaub and written by Daniel G. Sullivan and Fredric Lebow. It stars Sandra Bullock as Lucy, a Chicago Transit Authority token collector, and Bill Pullman as Jack, the brother of a man whose life she saves, along with Peter Gallagher as Peter, the man who is saved, Peter Boyle and Glynis Johns as members of Peter's family, and Jack Warden as longtime family friend and neighbor.
Lucy Eleanor Moderatz (Sandra Bullock) is a lonely fare token collector for the Chicago Transit Authority. She has a secret crush on a handsome commuter named Peter Callaghan (Peter Gallagher), although they are complete strangers. On Christmas Day, she rescues him from the oncoming Chicago 'El.' train after a group of muggers push him onto the tracks. He falls into a coma, and she accompanies him to the hospital, where a nurse overhears her musing aloud, "I was going to marry him." Misinterpreting her, the nurse tells his family that she is his fiancée.