"And Isaac sowed in that land" (Genesis 26:12) — that he performed a great act of charity (tzedakah) with the poor of that place, as it is said, "Sow for yourselves according to charity" (Hosea 10:12). "A hundredfold (a hundred measures)" — on account of that merit the Holy One, blessed be He, blessed that sowing, and the land yielded a hundred measures beyond what they had estimated of it.
Isaac Sows Charity and Reaps a Hundredfold Harvest in Gerar
Midrash Aggadah, Genesis 26:12
ויזרע יצחק בארץ ההיא. שעשה צדקה גדולה עם עניי אותו מקום, שנאמר זרעו לכם לצדקה (הושע י יב): מאה שערים. בשביל אותו זכות בירך הקב"ה אותה זריעה, ונשאה הארץ מאה שערים ממה שהיו משערים אותה: