Written and first recorded by Hoyt Axton (1974).
Hit version by Ringo Starr (US #3/CAN #1 1975).
From the wiki: “Ringo Starr’s cover of Hoyt Axton’s and David Jackson’s ‘No No Song’ was included on Starr’s 1974 album Goodnight Vienna. The song was released as a single in the US in January 1975, becoming a #1 hit in Canada and a #3 hit in the US. Harry Nilsson provided backing vocals.”
Ringo Starr, “No No Song” (1975):