From “The Hobbit,” “Riddles in the Dark,” the fourth riddle which Bilbo poses to Gollum.

No-legs lay on one-leg, two-legs sat near on three-legs, four-legs got some.

Fish on a little table, man sitting on a stool, the cat has the bones. (This was the answer, and Gollum soon gave it.)

Submitted by Baranor