The Rambam · Sefer Ahavah
הלכות תפילין ומזוזה וספר תורה י׳Tefillin, Mezuzah and the Torah Scroll 10
Chapter 10 of 10 in Tefillin, Mezuzah and the Torah Scroll — 11 halachot
Halacha 1א׳
נמצאת למד שעשרים דברים הן שבכל אחד מהן פוסל ספר תורה ואם נעשה בו אחד מהן הרי הוא כחומש מן החומשין שמלמדין בהן התינוקות ואין בו קדושת ספר תורה ואין קורין בו ברבים ואלו הן:(א) אם נכתב על עור בהמה טמאה(ב) שנכתב על עור בהמה טהורה שאינו מעובד(ג) שהיה מעובד שלא לשם ספר תורה(ד) שנכתב שלא במקום כתיבה על הגויל במקום בשר ועל הקלף במקום שיער(ה) שנכתב מקצתו על הגויל ומקצתו על הקלף(ו) שנכתב על דוכסוסטוס(ז) שנכתב בלא שירטוט(ח) שנכתב בלא שחור העומד(ט) שנכתב בשאר לשונות(י) שכתבו אפיקורוס או כיוצא בו משאר פסולין(יא) שכתב האזכרות בלא כוונה(יב) שחסר אפילו אות אחת(יג) שהוסיף אפילו אות אחת(יד) שנגעה אות באות(טו) שנפסדה צורת אות אחת עד שלא תקרא כל עיקר או תדמה לאות אחרת בין בעיקר הכתיבה בין בנקב בין בקרע בין בטשטוש(טז) שהרחיק או שהקריב בין אות לאות עד שתראה התיבה כשתי תיבות או שתי תיבות כתיבה אחת(יז) ששינה צורת הפרשיות(יח) ששינה צורת השירות(יט) שכתב בשאר הכתב כשירה(כ) שתפר היריעות בלא גידי טהורה ושאר הדברים למצוה לא לעכב.
You thus find that there are twenty factors, any one of which disqualifies a scroll of the law. If any of these occurs, the scroll is like one of the books of the Pentateuch out of which children are taught. It does not possess the sanctity of a scroll of the Law, and is not used for reading in public worship. They are as follows: 1) If it was written on the skin of a beast of an unclean species; 2) or on the skin of a beast of a clean species, which had not been tanned; 3) If the skin had been tanned but not for the express purpose of being used as a scroll of the law; 4) If it was written on the wrong side; in the case of parchment of whole hide on the side next to the flesh; in the case of parchment of the outer half of a split hide, on the side adjacent to the hair; 5) If it was written partly on parchment of whole hide and partly on that made of the outer half of split hide; 6) If it was written on the inner half of a split hide; 7) If it was written without the lines having been previously ruled; 8) If it was written with a dark writing fluid that does not make a permanent impression; 9) If it was written in other languages; 10) If it was written by a heretic (Epikouros) or other disqualified persons; 11) If the scribe wrote the names of God without special concentration of mind; 12) If a single letter was omitted; 13) If a single letter was added; 14) If one letter touched another; 15) If a single letter was so marred that it cannot be read at all, or resembles another letter, whether the defect is in the writing, or is due to a perforation, rent or smudge; 16) If the scribe wrote letters so far apart or so closely together that one word looks like two words or two words look like one word; 17) If he altered the form of the sections*Wrote an “open” section as if it were a “closed” section or vice versa.; 18) If he varied the form of writing the Songs; 19) If he wrote any other portion in the form of a Song; 20) If he did not sew the sheets with sinews of a beast of a clean species. The other conditions stated are recommended as the best way of performing the duty of writing a scroll. Their non-observance does not render it unfit for use.
Halacha 2ב׳
ס"ת כשר נוהגין בו קדושה יתירה וכבוד גדול ואסור לאדם למכור ספר תורה אפילו אין לו מה יאכל ואפילו היו לו ספרים רבים ואפילו יש ליקח בו חדש לעולם אין מוכרין ספר תורה אלא לשני דברים שילמוד תורה בדמיו או שישא אשה בדמיו והוא שלא יהיה לו דבר אחר למכור.
A scroll of the law that is fit for use is to be regarded as an object of extreme holiness and treated with great reverence. A person is forbidden to sell a scroll of the law even if he has nothing to eat, and even if he owns other scrolls. He may not even sell an old scroll, to buy a new one. A scroll may only be sold for one of two purposes, to provide means to enable one to study Torah or to marry—and then only if the owner has nothing else that he can sell.
Halacha 3ג׳
ספר תורה שבלה או שנפסל נותנין אותו בכלי חרש וקוברין אותו אצל תלמידי חכמים וזו היא גניזתו מטפחות ספרים שבלו עושין אותן תכריכין למת מצוה וזו היא גניזתן.
If a scroll of the law has become worn out or been otherwise rendered unfit for use; it is placed in an earthenware vessel and buried beside the remains of deceased scholars. This is the appropriate method of "concealing" it (putting it away). Folders of scrolls that have become worn out are used as shrouds for the dead (found on the road) whose interment is a duty binding on all. This is the appropriate method of "concealing" them.
Mishneh Torah, Hebrew Wikisource edition, via Sefaria — CC BY-SA
English: The Mishneh Torah by Maimonides, tr. Moses Hyamson, 1937-1949 — public domain