Winnecke 4, M40 // Michael Sanford
An oddity in Messier's catalog, M40 is not a deep-sky object like a star cluster, nebula, or galaxy, but is instead an optical pairing of two unrelated stars.
The pair of stars was discovered by Messier in 1764 when he was looking for a nebula reported earlier by Johannes Hevelius (1611-1687). The "nebula" reported by Hevelius might've been the faint galaxy NGC 4290 (seen in this image to the left), which may have been visible in telescopes at the time, but not in the types Messier used.
Nonetheless, Messier included it in his list. Had he had a larger telescope, he might've discovered the galaxy NGC 4290 or the fainter galaxy NGC 4284.
Nowadays, we know these two stars are unrelated to each other. Measurements from the Gaia spacecraft have indicated that one of the stars is 1,000 light years away, while the other is only 470 light years away.