Mishneh Torah — Positive Mitzvot מצוות עשה, Chapter 130
The full Hebrew text of Mishneh Torah, Positive Mitzvot, Chapter 130, with English translation by Maimonides (Rambam).
להפריש מעשר עני תחת מעשר שני בשלישית ובשישית בשבוע, שנאמר: "מִקְצֵה שָׁלֹשׁ שָׁנִים תּוֹצִיא אֶת כָּל מַעְשַׂר תְּבוּאָתְךָ" (דברים יד, כח).
To separate the tithe for the poor instead of the second tithe in the third and sixth years of the seven-year [agricultural cycle], as [Deuteronomy 14:28] states: "At the end of three years, remove a tithe of all your crops...."