סימן כח סעיף ה
סֵפֶר תּוֹרָה שֶׁבָּלָה, גּוֹנְזִין אוֹתוֹ. וְכֵן שְׁאָר סְפָרִים וְכִתְבֵי קֹדֶשׁ וְתַשְׁמִישֵׁי קְדֻשָּׁה. וְאָסוּר לְשָׂרְפָן (עַיֵּן שו"ע אוֹרַח חַיִּים סִימָן קנ"ד).
A Seifer Torah that became worn out must be stored away [with dignity].5It is placed in a clay vessel and buried in the grave of a Talmid Chacham (Torah scholar). (Shulchan Aruch 154:5) The same must be done with other religious books, sacred writings, and sacred articles. It is forbidden to burn them.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)