Dear Artur,
There are any number of Buddhist legends of scriptures found in ruins -- e.g., the tale of the
siddha Maitripa rediscovering the Ratnagotravibhàga in a ruined stþpa.
The subterranean treasures guarded by nàgas and others may also be of interest here.
best,
Matthew
Matthew Kapstein
Directeur
d'études,
Ecole Pratique des Hautes Etudes
Numata Visiting Professor of Buddhist Studies,
The University of Chicago