Shevi'is2: 7
הָאוֹרֶז, וְהַדּוֹחַן, וְהַפְּרָגִין, וְהַשּׁוּמְשְׁמִין שֶׁהִשְׁרִישׁוּ לִפְנֵי רֹאשׁ הַשָּׁנָה מִתְעַשְּׂרִין לְשֶׁעָבַר וּמוּתָּרִין בַּשְּׁבִיעִית; וְאִם לָאו, אֲסוּרִין בַּשְּׁבִיעִית וּמִתְעַשְּׂרִין לְשָׁנָה הַבָּאָה.
Rice, millet, poppy and sesame which took root before Rosh Hashanah are tithed according to the [year] past and are permitted in the seventh [year]; but if not, they are forbidden in the seventh [year] and are tithed according to the coming year.