The Beatles’ Wait from their 1965 album Rubber Soul is credited to Lennon–McCartney, although in the 1997 book, Many Years from Now, McCartney recalls it as entirely his. This is supported by a 1970 interview with John Lennon by Ray Connolly, in which he could not remember writing it; “That must be one of Paul’s,” he said.
https://youtu.be/j-h_fBFCJgE