Peah7: 8
הַמַּקְדִּישׁ כַּרְמוֹ עַד שֶׁלֹּא נוֹדְעוּ בוֹ הָעוֹלֵלוֹת — אֵין הָעוֹלֵלוֹת לָעֲנִיִּים. מִשֶּׁנּוֹדְעוּ בוֹ הָעוֹלֵלוֹת — הָעוֹלֵלוֹת לָעֲנִיִּים. רַבִּי יוֹסֵי אוֹמֵר: יִתְּנוּ שְׂכַר גִּדּוּלָיו לַהֶקְדֵּשׁ. אֵיזוֹ הִיא שִׁכְחָה בֶּעָרִיס? כָּל שֶׁאֵינוֹ יָכֹל לִפְשֹׁט אֶת יָדוֹ וְלִטְלָהּ; וּבָרוֹגְלִיּוֹת — מִשֶּׁיַּעֲבֹר הֵימֶנָּה.
If someone consecrates his vineyard be-fore the oleilos are discernible, the oleilos do not go to the poor; [if] after the oleilos are discernible, the oleilos go to the poor. R' Yose says: They must give the value of their growth to the Temple treasury. What is shich'chah in trellised vines? Whatever he cannot stretch out his hand and take; and in a ground vine, once he has passed by.