1It is a positive commandment1 for each and every Jewish man2 to write a Torah scroll for himself, as [implied by the commandment (Deuteronomy 31:19)]: "And now,3 write down this song4 for yourselves,"5 i.e., write down the [entire] Torah which contains this song. [The basis for this interpretation is] that the Torah should not be written passage by passage.6 Even if a person's ancestors left him a Torah scroll, it is a mitzvah to write one himself.7 If a person writes the scroll by hand, it is considered as if he received it on Mount Sinai.8 If he does not know how to write9 himself, [he should have] others write it for him.10 Anyone who checks even a single letter of a Torah scroll is considered as if he wrote the entire scroll.11
2A king is commanded to write another Torah scroll12 for himself, for the sake of his sovereignty,13 in addition to the scroll which he possessed while a commoner,14 as [Deuteronomy 17:18] states: "And when he sits on his royal throne, he shall write...."15 This scroll should be checked against the scroll in the Temple Courtyard16 by the Supreme Sanhedrin. The one which he possessed while he was a commoner should be placed in his storage chambers,17 and the one that he wrote18 - or had written for him - while he was a king, should be with him at all times. When he goes out to war, his Torah scroll should be with him. When he returns, it should be with him. When he sits in judgment, it should be with him.19 When he dines, it should be opposite him,20 as [Deuteronomy 17:19] states: "And it shall be with him and he shall read it21 all the days of his life."
3If a king did not possess a Torah scroll before he became king, he must write two Torah scrolls after he ascends the throne: one to place in his storage chambers,22 and the other to accompany him at all times,23 never leaving his presence except at night,24 when he enters the bathhouse, the toilet, or when he sleeps.25
4A Torah scroll which was written on unruled [parchment]26 or which was written with portions on g'vil and portions on k'laf27 is invalid.28 It must be written either entirely on g'vil or entirely on k'laf.29 How should a Torah scroll be written? One should write with very careful and attractive calligraphy,30 leaving the space the size of a small letter31 between each word32 and a hairbreadth's space between each letter.33 The space of a line should be left between each line.3435 The length of each line should be thirty letters so that one can write the word למשפחותיכם three times.36 This should be the width of every column.37 A line should not be shorter than this, lest the column appear like a note;38 nor wider than this, so that one's eyes will not wander through the text.39
5One should not reduce the size of a letter40 in order to leave the proper amount of space between one passage and another.41 Should [a scribe] have to write a word with five letters [at the end of a line, and there not be sufficient space for them all], he should not write two within the column and three beyond its margins.42 Rather, he should write three within the column, and two beyond its margins.43 If there is no room on the line to write [at least] three letters, he should leave an empty space and continue at the beginning of the [next] line.44
6Should [a scribe] have to write a two-letter word [after completing a line], he should not write it between the columns.45 Instead, he should write it at the beginning of the [following] line.46 [The following rules apply] if one had to write a word47 of ten48 - or more49 or fewer50 - letters in the middle of a line, and less space than necessary remained within the column: If it is possible to write half of the word within the column, with [only] half extending beyond the margin, he should. If that is not possible, he should leave an empty space and continue at the beginning of the next line.51
7One should leave four empty lines between each of the books of the Torah, neither more, nor less, starting the next book at the beginning of the following line.52 One should complete the entire Torah in the middle of the line at the bottom of the column. If many lines remain in the column, he should write shorter lines,53 beginning at the beginning of the line, but not completing it,54 so that the words לעיני כל ישראל55 are in the middle of the line at the bottom of the column.
8One should be careful regarding the oversized letters, the miniature letters,56 the letters that are dotted,57 the letters that have abnormal shapes58 - e.g., the pe'in that are bent over - and the crooked letters that the scribes have copied from each other in a chain of tradition.59 [Similarly,] care should be taken regarding the crowns60 and the number [of crowns placed on a letter].61 There are some letters that have [only] one crown, and others that have seven crowns.62 All these crowns are shaped like63zeiynin. They should be as thin as a hair.
9All the above matters were mentioned only because this is the most perfect way of performing the mitzvah. Should one, however, alter the structure [of a scroll from that] mentioned above or not be precise regarding the placement of the crowns, [the scroll is acceptable]64 if all the letters were written as they should be. [Similarly,] if one wrote the lines closer together, separated them further, lengthened them, or shortened them,65 the scroll is acceptable, provided one letter does not touch another,66 no letters are omitted, extra letters are not added,67 the shape of even a single letter is not altered, and the [form of the passages, whether] p'tuchah or s'tumah, is not changed.68
10There are other practices which, although they are not mentioned in the Talmud, have been followed by scribes as tradition, transferred from generation to generation. They include that: a) the number of lines in each column not be less than 48 nor greater than 60; b) there is a space of approximately nine letters left empty between each passage, so that one could write the word אשר three times; c) that the five lines above the song recited at the Red Sea begin with the words: haba'im, bayabashah, י-ה-ו-ה and b'Mitzrayim, and that the five lines below that song begin with the words: vatikach, achareha, sus, vayetz'u, and vayavo'u. d) that the six lines above the song, Ha'azinu begin with the words: v'a'idah, acharei, haderech, b'acharit, l'hach'iso, and k'hal, and that the five lines below that song begin with the words: vayavo, l'daber, asher, hazot, asher.
11All the above matters [were mentioned]69 only because this is the most perfect way of performing the mitzvah. If one deviated from them, [the scroll] is not disqualified.70 In contrast,71 if one wrote the short form of a word that should be spelled using a long form, or the long form of one that should be spelled using a short form,72 [the scroll] is disqualified.7374 [The same ruling applies if, in circumstances where one word is written in the Torah scroll and a different word is read] - e.g.,yishkavenah is read instead of yishgalenah (Deuteronomy 28:30), and uvat'chorim is read instead of uva'folim (Deuteronomy75 28:27 - one writes the word that is read [instead of the word that is written].76 Similarly, if one wrote a passage that should be p'tuchah as s'tumah, or one that should be s'tumah as p'tuchah,77 or if one wrote another passage from the Torah78 in the form of one of the songs,79 or wrote one of the songs in the form of another passage,80 [the scroll is disqualified].81 It does not have the holiness of a Torah scroll and, instead, is considered as one of the chumashim from which children are taught.82
12A Torah scroll83 that is uncorrected should not be left [unattended to]84 for more than thirty days.85 Rather, it should either be corrected86 or entombed.87 A Torah scroll that has three88 errors in each column should be corrected. If it has four, it should be entombed.89 Should the majority of a scroll have been checked to be accurate90 and there are four91 errors in each column of the remainder of the scroll, the scroll should be corrected, provided there is at least one column of the defective portion that has fewer than four errors.92
13When does the above apply? When one wrote the short form of a word instead of the long form, and one will thus be forced to insert the [extra] letters between the lines.93 If, however, one wrote the long form of a word instead of the short form, one may correct the scroll even if there are many errors on each page. In such an instance, one removes a letter instead of inserting it.94
14It is permitted to write a scroll containing each of the five books of the Torah individually.95 These scrolls do not have the sanctity of a Torah scroll.96 One should not write97 a scroll that contains several passages,98 nor should one write a scroll99 for a child to learn from.100 This is, nevertheless, permitted if one [ultimately] intends to complete an entire book of the Torah.101 It is permitted to write a scroll with [verses from the Torah] when one writes three words in a line spaced out disjointedly.102
15It is permitted to include [all the books of] the Torah, the Prophets, and the Holy Scriptures in a single scroll.103 Four empty lines should be left between each book of the Torah,104 and three empty lines between each book of the Prophets.105 One should also leave three lines between each book of the twelve [minor] prophets,106107 so that should one desire to cut, he may do so.108 This is the order of the Prophets: Joshua, Judges, Samuel, Kings,109 Jeremiah, Ezekiel, Isaiah,110 the Twelve [Minor Prophets]. This is the order of the Holy Scriptures: Ruth, Psalms, Job,111 Proverbs, Ecclesiastes, the Song of Songs,112 Lamentations, Daniel, Esther, Ezra,113 Chronicles.114
16All sacred texts may be written only on a ruled [surface]. [This applies] even if they are written on paper. One may write three words without ruling [the surface on which they are written]. Writing any more than that is forbidden. A scroll that includes the Torah, the Prophets, and the Holy Scriptures does not possess the same degree of holiness as a Torah scroll. Rather, it is like a scroll containing one of the books of the Torah, because the addition [of a book in the scroll] is equivalent to having omitted one.
Sefaria: Mishneh Torah, trans. by Eliyahu Touger. Jerusalem, Moznaim Pub. c1986-c2007 · CC BY-NC · sefaria.org
אהזהיר שאר האנשים שלא לבא על היבמה והיא תחת זיקת יבמה. והוא אמרו לא תהיה אשת המת החוצה לאיש זר. והעובר על לאו זה לוקה. והתבארו משפטי מצוה זו ביבמות. (שם, שם):
Sefaria: Sefer HaMitzvot, Warsaw 1883 · Public domain · sefaria.org