The Bodhisatta was once a tree fairy. As a sacrifice to the ogres, the people of the city laid out fish and meat and large pots of liquor all around the town. That night a jackal snuck into the city through the sewer and feasted before passing out in some bushes. He awoke the next morning and realized he could not safely get out of the city in the daylight, so he hid alongside a road.
Eventually the jackal saw a brahmin walking alone down the road, and since rich men like him were almost all greedy, the jackal thought he could use him to get out of the city. He called the brahmin over to his hiding place and said he would pay two hundred gold coins to be carried out of the city under the brahmin’s robe. The brahmin agreed. They proceeded to the cremation grounds where the jackal told the brahmin to spread out his robe on the ground and then dig up a tree to get his money. While the brahmin did as he was told, the jackal walked over to the brahmin’s robe, defecated on it in five places, and walked off into the forest. The Bodhisatta, who watched this happen, mocked the embarrassed brahmin for being a fool and told him to go wash his robe.
In the Lifetime of the Buddha
The Jackal was an earlier birth of Devadatta, a disciple of the Buddha who became his nemesis. One time when the Buddha heard some of his disciples discussing how Devadatta’s lies were causing trouble, he told them this story so they knew that Devadatta had also been a liar in the past.