Negative commandment · Lo Ta’aseh #141 of 613
Not to eat grain [separated as] the second tithe outside of Jerusalem
שלא לאכול מעשר שני של דגן חוץ לירושלים
The verse · Devarim 12:17
לֹא־תוּכַל לֶאֱכֹל בִּשְׁעָרֶיךָ מַעְשַׂר דְּגָנְךָ וְתִירֹשְׁךָ וְיִצְהָרֶךָ וּבְכֹרֹת בְּקָרְךָ וְצֹאנֶךָ וְכׇל־נְדָרֶיךָ אֲשֶׁר תִּדֹּר וְנִדְבֹתֶיךָ וּתְרוּמַת יָדֶךָ
“Thou mayst not eat within thy gates the tithe of thy corn, or of thy wine, or of thy oil, or the firstlings of thy herds or of thy flock, or any of thy vows which thou vowest, or thy freewill offerings, or offering of thy hand:”
The Rambam’s words
Not to eat grain [separated as] the second tithe outside of Jerusalem, as [Deuteronomy 12:17] states: "You may not eat within your gates the tithe from your grain."
שלא לאכול מעשר שני של דגן חוץ לירושלים, שנאמר "לא תוכל לאכול בשעריך, מעשר דגנך" (דברים יב,יז).
Who & when
“And this prohibition is practiced by males and females at the time that the obligation of the second tithe is practiced.”
Where in the Mishneh Torah
Hilchot Second Tithes and Fourth Year's Fruit הלכות מעשר שני ונטע רבעי