Deuteronomy 31:26 Midrash

לָקֹ֗חַ אֵ֣ת סֵ֤פֶר הַתּוֹרָה֙ הַזֶּ֔ה וְשַׂמְתֶּ֣ם אֹת֔וֹ מִצַּ֛ד אֲר֥וֹן בְּרִית־יְהוָ֖ה אֱלֹהֵיכֶ֑ם וְהָֽיָה־שָׁ֥ם בְּךָ֖ לְעֵֽד׃

’Take this book of the law, and put it by the side of the ark of the covenant of the LORD your God, that it may be there for a witness against thee.

Read midrashic interpretation of Deuteronomy 31:26: and classical rabbinic exegesis.