This is an avadāna text, a compilation of early Buddhist legends.
Akshesvar Mahabihara; images and metadata are from the Endangered Archives Programme