616. Rescuing Seforim From a Fire

85:5 All sacred texts (like books of Tanach or Talmud – Mishnah Brurah 334:30), whether hand-written in scrolls or printed in bound books, may be saved from fires, floods or other catastrophes, even by transporting them to a courtyard or alley lacking an eiruv, where one would not normally be permitted to take them on Shabbos. This is allowed so long as  they are built in such a way that an eiruv could be made. A non-Jew is permitted to save holy books even by taking them into a public domain.
 
85:6 One may rescue a book cover along with the book that it’s on and a tefillin bag along with the tefillin that are in it.