I am not sure there are any sources to this story, it's most likely made up to prove a point ("once it's work, it's no fun" and "old people are cunning") and there are variants but it's a rather commmon story told in classroom where I grew up (Belgium).
It's like the story of the boy who cried wolf, its origins are lost in time and not very precise.
It's like the story of the boy who cried wolf, its origins are lost in time and not very precise.