Something along the lines of eliminate the impossible and all that remains is the truth. I’m too lazy to look it up.
Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. Arthur Conan Doyle