Mishneh Torah — Negative Mitzvot מצוות לא תעשה, Chapter 65
The full Hebrew text of Mishneh Torah, Negative Mitzvot, Chapter 65, with English translation by Maimonides (Rambam).
שלא לאבד בית המקדש, או בתי כנסייות, או בתי מדרשות; וכן אין מוחקין את השמות המוקדשין, ואין מאבדין כתבי הקודש, שנאמר "אַבֵּד תְּאַבְּדוּן" (דברים יב, ב), "לֹא תַעֲשׂוּן כֵּן לַה' אֱלֹהֵיכֶם" (שם, ד).
Not to destroy the Temple, synagogues, or houses of study; and similarly, not to erase any of [God’s] sacred names, nor to destroy any sacred texts, as [Deuteronomy 12:3-4] states: "You shall surely destroy them. Do not do this to God, your Lord." who differentiates between sacred texts whose destruction Hilchot Yesodei HaTorah 6:8 considers a rabbinic offense, and the destruction of the other objects which are forbidden by the Torah itself.