The Worshipful and Ancient Law of Gallifrey

The Worshipful and Ancient Law of Gallifrey was a book that was once stored in the Panopticon Archive on Gallifrey. One of the Artefacts of Rassilon, it was also the "key" to Shada, the Time Lords' prison planet. When the pages were turned inside a TARDIS, it would take the craft to Shada.

The text of the book was written in ancient Gallifreyan and read largely as gibberish, though the book itself had several remarkable features, such as absorbing radiation, having no discernible atomic structure, time running backwards over it, being impervious to damage or even spectrographic analysis. (HOMEVID: Shada, WC: Shada, PROSE: Shada)

Removal from Gallifrey and subsequent use
It was stolen from Gallifrey by Salyavin, who subsequently requested that the Doctor return it to Gallifrey for him. Following this meeting it was stolen by Skagra, who used it and the Doctor's TARDIS to travel to Shada. (HOMEVID: Shada, WC: Shada)

Once, the Doctor used a copy of the book to imprison a malevolent psychic entity known as the Garvond. Having done this, he dumped the copy in a dimensional fissure. (PROSE: The Dimension Riders)

A Venerada e Antiga Lei de Gallifrey