Mishneh Torah — Positive Mitzvot מצוות עשה, Chapter 164
The full Hebrew text of Mishneh Torah, Positive Mitzvot, Chapter 164, with English translation by Maimonides (Rambam).
להתענות בעשירי בו, שנאמר: "ובעשור לחודש תענו את נפשותיכם" (ראה ויקרא טז,כט; במדבר כט,ז).
To fast on the tenth [of this month, Yom Kippur,] as [Leviticus 16:29] states: "On the tenth of the month, you shall afflict your souls."