The Divyāvadāna, or Divine Stories, is an anthology of Buddhist tales, many originating in the Mūlasarvāstivāda vinaya texts.. It may be dated to 2nd century CE. The stories themselves are therefore quite ancient and may be among the first Buddhist texts ever committed to writing, but this particular collection of them is not attested prior to the eighteenth century. Typically, the stories involve the Buddha explaining to a group of disciples how a particular individual, through actions in a previous life, came to have a particular karmic result in the present. A predominant theme is the vast merit (Merit ) accrued from making offerings to enlightened beings or at stupas and other holy sites related to the Buddha.
The above text is a snippet from Wikipedia: Divyavadana
and as such is available under the Creative Commons Attribution/Share-Alike License.