Detective Conan
The Deduction That Was Too Good (8x14)
:
While walking home from the bar drunk, Kogoro witnesses a fight between two men. The next day, one of them was murdered and the other begs Kogoro to prove his innocence, but something about his alibi is too perfect.