Deuteronomy 10:4
10:4 The Lord then wrote on the tablets the same words, the ten commandments, which he had spoken to you at the mountain from the middle of the fire at the time of that assembly, and he gave them to me.
Deuteronomy 31:9
The Deposit of the Covenant Text
31:9 Then Moses wrote down this law and gave it to the Levitical priests, who carry the ark of the Lord’s covenant, and to all Israel’s elders.