The line is a common misquotation from "A Day in the Life" by The Beatles (1967, Sgt. Pepper's Lonely Hearts Club Band). Paul McCartney's middle section describes a rushed morning routine:
Woke up, fell out of bed
Dragged a comb across my head
Found my way downstairs and drank a cup
And looking up I noticed I was late
Found my coat and grabbed my hat
Made the bus in seconds flat
Found my way upstairs and had a smoke
And somebody spoke and I went into a dream
The exact phrase "And if you're on time you can get to work by 9" doesn't appear in the lyrics. The song narrates a frantic morning; the "9" refers to a 9 AM work start. The misquote likely arose from summarizing the scene.