Mishneh Torah — Positive Mitzvot מצוות עשה, Chapter 36
The full Hebrew text of Mishneh Torah, Positive Mitzvot, Chapter 36, with English translation by Maimonides (Rambam).
להיות הכהנים עובדין במקדש משמרות משמרות, ובמועדים עובדין כאחד, שנאמר: "וְכִי יָבוֹא הַלֵּוִי..." (דברים יח, ו) "לְבַד מִמְכָּרָיו עַל הָאָבוֹת" (שם, ח).
For the priests to serve in the sanctuary in individual watches; and for them to all serve as one on the festivals, as [Deuteronomy 18:6-8] states: "When the Levite shall come... [he can serve]...with the exception of that which is theirs by ancestral right."