Reb Menachem Mendel of Kosov set out for Skole to meet his Rebbe, Reb Feivish of Zabriza. Reb Menachem Mendel traveled by foot, since he had no money to pay the coach fare. Along the way, he stopped at an inn and asked the innkeeper if he could sleep there.
"You may certainly sleep here, but I cannot offer you any food. It has been many days since my family has tasted even a morsel of bread. And what is more, I owe the landlord months of rent. If I do not pay him soon, I will be thrown into jail," the innkeeper moaned.
Reb Menachem Mendel could not sleep a wink the whole night, so distressed was he by the innkeeper's situation. In the morning, he set out for Skole. Along the way, a coach passed him. A Jew inside shouted to him, "Where are you off to?"
"I am going to spend Shabbos in Skole with Reb Feivish of Zabriza," answered Reb Menachem Mendel.
"In that case, hop in. I, too, am traveling in that direction," offered the wealthy Jew.
"I will not step into the carriage until you give me 20 silver coins," demanded Reb Menachem Mendel.
"It is not enough I offer you a ride, you demand money too?" countered the wealthy man.
"It is not for myself, but for a destitute family," explained Reb Menachem Mendel. "Besides," he added, "one never knows when the wheel of fortune will change." With this thought, the wealthy Jew was convinced to not only give the silver coins, but to also travel back to the inn and personally present the innkeeper with the money.
Before leaving the inn and returning on their journey, Reb Menachem Mendel approached the innkeeper. "From now on your business will prosper. By and by you will become very rich. But my rich companion is destined to lose his entire fortune. When the time comes, remember to repay one kindness with another."
When Reb Menachem Mendel arrived at Reb Feivish's court, he related to Reb Feivish how the rich man had saved an entire family from destitution. "I know, my son, I know," answered Reb Feivish. "But did you tell the innkeeper how to act when the time comes?"
"I told him," said Reb Menachem Mendel. "And he understood."
In due time, the rich man's business floundered. Everything he turned his hand to resulted in great losses until he became destitute. He was forced to go begging from town to town. At the same time, the innkeeper became quite wealthy.
Years passed, and eventually, the once wealthy man wandered into Kosov. He was told by his fellow beggars, "You must visit Reb Menachem Mendel of Kosov. He is a great Rebbe and knows how to provide for people like us."
Reb Menachem Mendel recognized the wanderer at once. He called him over and handed him a letter. "You must go to the house of a certain wealthly individual and he will surely know how to help you."
The wanderer left immediately with the letter. Upon arriving at the wealthy man's house, he was greeted warmly by the owner. "I do not recognize you anymore," said the wealthy innkeeper to the wanderer, "but last night in a dream Reb Menachem Mendel told me that the time has come to repay one kindness with another." And with that, the innkeeper reminded the beggar of their meeting some 15 years previously.
The innkeeper made an honest reckoning of all the wealth he had acquired in the past 15 years, and went, with the wanderer, to Reb Menachem Mendel. The innkeeper gave the wanderer a generous gift and they both prospered in all future business ventures.