וְהָיָ֣ה כְשִׁבְתּ֔וֹ עַ֖ל כִּסֵּ֣א מַמְלַכְתּ֑וֹ וְכָ֨תַב ל֜וֹ אֶת־מִשְׁנֵ֨ה הַתּוֹרָ֤ה הַזֹּאת֙ עַל־סֵ֔פֶר מִלִּפְנֵ֥י הַכֹּהֲנִ֖ים הַלְוִיִּֽם׃
ويكون عندما يجلس على كرسيّ مملكته أن يكتب لنفسه نسخةً ثانيةً من هذه الشريعة في سفرٍ، نقلًا عمّا هو أمام الكهنة اللاويين.
Rashi
והיה כשבתו AND IT SHALL BE WHEN HE SITTETH [UPON THE THRONE OF HIS KINGDOM] — if he acts thus (as prescribed in the previous verses) he is worthy that his kingdom should endure (Sifrei Devarim 160:1).
Rashbam
משנה התורה, my grandfather Rashi, explained this as meaning two separate Torah scrolls, [in line with the traditional interpretation of our sages in Sanhedrin 21, as distinct from Onkelos who derives the word משנה as related to שנן, (Deut. 6,7) to delve into the deeper meaning. Therefore,] Onkelos renders the word as פתשגן, a clearly worded interpretation, translation. [The king would have to have a version of the Torah at hand which a layman can understand without difficulty.]
Chizkuni
متاح لأعضاء الاشتراك المميّز فقطKli Yakar
متاح لأعضاء الاشتراك المميّز فقطSiftei Chakhamim
متاح لأعضاء الاشتراك المميّز فقطRav Hirsch
متاح لأعضاء الاشتراك المميّز فقطRashi
את משנה התורה [HE SHALL WRITE HIM] A משנה תורה — i.e. two scrolls of the Law, one that is placed in his treasury and the other that goes out and comes in with him (i.e. a small scroll which he carries everywhere with him) (Sanhedrin 21b). Onkelos, however, renders משנה by פתשגן, a copy; he thus interpreted the word משנה in the sense of שנן, repeating and uttering.