The Murders in the Rue Morgue from "The Three Princes of Serendip", an Italian rendition of Amir Khusro's "Hasht-Bihisht". Poe may also have been expanding on previous analytical works of his own including the essay on "Maelzel's Chess Player" and the comedic "Three Sundays in a Week". As for the twist in the plot, Poe was likely inspired by the crowd reaction to an orangutan on display at the Masonic Hall in Philadelphia in July 1839. The name of the main character may have been inspired from the "Dupin" character in a series of stories first published in "Burton's Gentleman's Magazine" in 1828 called "Unpublished passages
The Murders in the Rue Morgue and a leap to a set of open window shutters. Showing an unusual tuft of hair he recovered from the scene, and demonstrating the impossibility of the daughter being strangled by a human hand, Dupin concludes that an "Ourang-Outang" (orangutan) killed the women. He has placed an advertisement in the local newspaper asking if anyone has lost such an animal, and a sailor soon arrives looking for it. The sailor offers to pay a reward, but Dupin is interested only in learning the circumstances behind the two murders. The sailor explains that he captured the orangutan while in Borneo and