Last two books of the Khuddaka-nikāya of the Sutta-piṭaka.
In the Buddhavaṃsa Gotama Buddha relates, in verse, the lives of the 24 Buddhas who preceded him, and his former actions in relation to those Buddhas. The Cariyāpiṭaka also relates stories in verse of Gotama Buddha in former lives, this particular collection being used to illustrate his mastery of the ten perfections.
Ed. N.A. Jayawickrama, 1974, 1995, 2017
Translations: Chronicle of Buddhas and Basket of Conduct in Minor Anthologies Vol. III.