linguistic:voice_change, structural:scholar_edition
Legends about past lives

Buddhist legends mention stories about Ashoka's past lives. According to a Mahavamsa story, Ashoka, Nigrodha and Devnampiya Tissa were brothers in a previous life. In that life, a pratyekabuddha was looking for honey to cure another, sick pratyekabuddha. A woman directed him to a honey shop owned by the three brothers. Ashoka generously donated honey to the pratyekabuddha, and wished to become the sovereign ruler of Jambudvipa for this act of merit. The woman wished to become his queen, and was reborn as Ashoka's wife Asandhamitta. Later Pali texts credit her with an additional act of merit: she gifted the pratyekabuddha a piece of cloth made by her. These texts include the Dasavatthuppakarana, the so-called Cambodian or Extended Mahavamsa (possibly from 9th–10th centuries), and the Trai Bhumi Katha (15th century).

According to an Ashokavadana story, Ashoka was born as Jaya in a prominent family of Rajagriha. When he was a little boy, he gave the Gautama Buddha dirt imagining it to be food. The Buddha approved of the donation, and Jaya declared that he would become a king by this act of merit. The text also state that Jaya's companion Vijaya was reborn as Ashoka's prime-minister Radhagupta. In the later life, the Buddhist monk Upagupta tells Ashoka that his rough skin was caused by the impure gift of dirt in the previous life. Some later texts repeat this story, without mentioning the negative implications of gifting dirt; these texts include Kumaralata's Kalpana-manditika, Aryashura's Jataka-mala, and the Maha-karma-vibhaga. The Chinese writer Pao Ch'eng's Shih chia ju lai ying hua lu asserts that an insignificant act like gifting dirt could not have been meritorious enough to cause Ashoka's future greatness. Instead, the text claims that in another past life, Ashoka commissioned a large number of Buddha statues as a king, and this act of merit caused him to become a great emperor in the next life.

The 14th century Pali-language fairy tale Dasavatthuppakarana (possibly from c. 14th century) combines the stories about the merchant's gift of honey, and the boy's gift of dirt. It narrates a slightly different version of the Mahavamsa story, stating that it took place before the birth of the Gautama Buddha. It then states that the merchant was reborn as the boy who gifted dirt to the Buddha; however, in this case, the Buddha his attendant to Ānanda to create plaster from the dirt, which is used repair cracks in the monastery walls.