M40
Winnecke-4
Charles Messier got a hint from a colleague to check for some nebulosity in a particular spot. The only thing he could find at the specified position was this pair of stars, which he then catalogued as M40.
Nowadays we know, that this is not even a double star system. While seemingly neighbours from our perspective they are in fact not related. So M40 is effectively an error within the Messier Catalogue.
The smaller galaxy on the left (NGC4284) could probably not be resolved with telescopes in that time.