Aesop's Fables (1884)
7. The Dog, Cock and Fox.
A Dog and a Cock, traveling together, took shelter at night in a thick wood. The Cock perched himself on a high branch, while the Dog found a bed at the foot of the tree. When morning dawned, the Cock, as usual, crowed very loudly. A Fox, hearing the sound, and wishing to make a breakfast on him, came and stood under the branches, saying how earnestly he desired to make the acquaintance of the owner of so sweet a voice.
"If you will admit me," said he, "I should very much like to spend the day with you."
The Cock said: "Sir, do me the favor to go round and wake up my porter, that he may open the door, and let you in." On the Fox approaching the tree, the Dog sprang out and caught him and quickly tore him in pieces.
Those who try to entrap others are often caught by their own schemes.
Aesop's Fables: A New Revised Version From Original Sources (translator not identified), 1884 . Illustrations by Ernest Henry Griset (1844-1907), John Tenniel (1820-1914) and Harrison Weir (1824-1906). Available online at Project Gutenberg.