"The Murders in the Rue Morgue" is a short story by Edgar Allan Poe and one of the first in what eventually became known as the "detective story" genre.

Wikipedia contains spoilers

Plot

Auguste Dupin investigates a series of baffling deaths of Parisians, and reaches the astounding conclusion that killings were not murder per se but were carried out by a wild orangutan.

External link