It was a perfectly beautiful Shabbat day. The Jew strolled at leisure through the orchards and fields. The trees were heavy with their fragrant bounty. The bees swarmed about the blossoming flowers; each leaf glowed its own shade of green in the light. "How wonderful was the world which the Creator bestowed upon his creations," thought the man.
Then he reached the boundaries of his own vineyard. "What's that?" he thought, as he noticed a hole in the fence. "Why, how could I have failed to notice it before? I better come around early tomorrow morning and fix it before wild animals or thieves have a chance to go in and eat up the grapes. As it is, I have barely enough to support my family."
Then he suddenly stopped in his tracks and caught his breath. "Today is Shabbat," he thought, "and I have just been thinking and planning my mundane affairs on this sanctified day." The Jew, who was a pious man, was shocked that he had just transgressed the sanctity of the day by actually planning to perform work which was forbidden on the holy Shabbat. He turned his thoughts away from the fence and returned to his home and the joyous Shabbat meal that awaited him.
When Shabbat had come to an end the Jew remembered his vineyard and the broken fence, and he felt a great sorrow at having profaned his holy Shabbat with thoughts of repairing the fence. He decided that to atone for his sinful thought, he would never fix the fence.
The summer passed, and the harvest approached. The vineyard was redolent with the fragrance of ripe grapes. The man went out to his vineyard to gather in his harvest thinking, "There probably aren't many grapes left. I'm sure the foxes and rabbits must have passed through the hole and eaten them all." But when he entered the vineyard he couldn't believe his eyes. The grapes hung in gigantic clusters throughout the vineyard, and the smell of the ripe grapes was overpowering. Every grape was perfect, and there was no sign of any having been touched.
The man began to look for the hole in the fence. The damage had been quite extensive, and so he was sure to find it with little searching. And so he did, but in the place where there had been a gaping hole, there was none. Instead, completely covering the hole, there was a fully-grown caper bush. The Master of the Universe had caused it to sprout there, to cover up the opening with its bushy branches.
The caper bush had not only saved the grape crop from certain destruction, but it possessed a great value in itself. Every part of the plant could be sold at great profit. The caper buds were preserved in vinegar and savored as a tasty delicacy; the twigs and leaves were enjoyed as well.
The pious Jew benefitted from the wondrous bush for the rest of his life, earning from it a good livelihood to support his wife and children. He enjoyed the bountiful harvest from it every year and it was a reminder of the great holiness of the Shabbat and the miracle of G-d's creation.