Petavatthu

'Ghost Stories')[1] is a Theravada Buddhist scripture, included in the Minor Collection (Khuddaka Nikaya) of the Pali Canon's Sutta Pitaka.

[2] It is composed of 51 verse narratives describing specifically how the effects of bad acts can lead to rebirth into the unhappy world of petas (ghosts) in the doctrine of kamma.

[8] The Sāriputta story of the Petavatthu was adapted in 6th-century China to form the Mahayana Yulanpen Sutra, which makes Mulian (i.e., Maudgalyāyana) its hero.

Similar to its effect in South and Southeast Asia, the dissemination of the story led to the spread of a Ghost Festival throughout the Sinosphere.

[9] A version of the Petavatthu's Maudgalyāyana story separately became a Chinese legend or folk tale known as "Mulian Rescues His Mother".