shaggy dog story
A long, convoluted anecdote, often told simply to result in a sentence that consists almost entirely of puns.

.
One classic shaggy dog story involves a man named Hugh who is out to stop a couple of monks from growing flowers for money:

"Remember Hugh, and only Hugh, can prevent florist friars."

.