The Beatles Glass Onion is basically one big reference to other Beatles songs but the one line that makes me think of another song is, "I told you 'bout the fool on the hill, I tell ya man he's livin' there still"...
because of the videos, I always think of them together,
Someone previously mentioned "Ventura Highway". The lyrics "sorry, boy, but I've been hit by purple rain" reminds me of "Purple Rain" by Prince.
Speaking of Prince, in Steely Dan's "Deacon Blues", the lyrics "I cried when I wrote this song, sue me if I play too long" reminds me of the lyrics in "1999": "I was dreaming when I wrote this, forgive me if it goes astray". Not quite the same, but similar and they're kind of the same rhythm. Makes you wonder if these songs/artists weren't influences on Prince.
because of the videos, I always think of them together,
When I first heard Len's "Steal My Sunshine" two decades ago, I thought "where have I heard that instrumental part before?" Then I finally figured it out. A similar instrumental was in the Andrea True Connection's "More, More, More." The two are now forever tied in my mind.
Steal My Sunshine
More, More, More - 2:20 is that same instrumental
Holy crap! I've never known where that instrumental came from. It's so weird that it's just a random hook in the middle of the song. I don't know if I've ever listened to More, More, More that far through I guess.