The Beatles' Lady Madonna (released March 15, 1968) was "inspired" by Humphrey Lyttelton's trad jazz hit Bad Penny Blues (released 1956). Per Wikipedia:
According to musicologist Walter Everett, "Lady Madonna" is a raucous rock and roll song. Paul McCartney based his piano part for the song on Humphrey Lyttelton's 1956 trad jazz rendition of "Bad Penny Blues" which had been recorded by George Martin in the 1950s. According to Ringo Starr in Recording the Beatles, "We asked George how they got the sound on Bad Penny Blues." McCartney said of writing the song in a 1994 interview, "'Lady Madonna' was me sitting down at the piano trying to write a bluesy boogie-woogie thing ... It reminded me of Fats Domino for some reason, so I started singing a Fats Domino impression. It took my other voice to a very odd place." Domino himself covered the song later in 1968. The Fats Domino hit "Blue Monday" from 1956 tracks the feelings of a hard working man over each day of the week. "Lady Madonna" imagines the situation from a woman's perspective.
DNCE's song Cake by the Ocean (released September 18, 2015) bears a strong resemblance to several songs including Donna Summer's Bad Girls, Falco's/After The Fire's Der Kommissar, and particularly Cake's Never There (released October 13, 1998). DNCE's Joe Jonas has suggested that the title resulted from a mistranslation of "sex on the beach" by a Swedish producer (perhaps it's a thinly veiled referenced to the song's true lineage). Cake by the Ocean and Never There share the same key (E minor), basic verse chord progression (Emin-Amin-B7sus4-B7), and production/arrangement (single lead guitar riff outlining the chord changes).
Both songs were released in 1974, and likely owe a debt to George McCrae's preceding disco hit Rock Your Baby (released in May 1974, and written and produced by Harry Wayne Casey and Richard Finch of KC and the Sunshine Band), which in turn owes a debt to Betty Wright's Clean Up Woman (released November 1971). Billy Joel's Keeping The Faith (released 1984) also strongly echoes Clean Up Woman.
Whatever Gets You thru the Night (:00) VS Shame Shame Shame (2:00)
As a musician and composer, I’m often struck by similarities between pop songs. If you’ve ever listened to a tune on the radio and thought to yourself, “this sounds really familiar,” or “what does this melody remind me of,” (or more bluntly, “this song is a rip-off of …”) then you have shared in the experience.