This is what Sherlock Holmes actually "said":
When you have eliminated the impossible, whatever remains, however improbable, must be the truth.

From The Sign of the Four, pg. 41. Oxford University Press, 1993.