Tajihi the Scripture Copier came from Tajihi district, Kawachi province. As his surname was Tajihi, he was given such a popular name. In that district there was a temple called Nonakadō.
In the sixth month in the summer of the eighth year of the boar, the second year of the Hōki era, a man made a vow to copy the Hoke-kyō and invited the copier to the temple. Female devotees gathered in the temple to add purified water to the ink for copying scriptures, and it happened that the sky suddenly clouded over and there was a shower in the afternoon. The temple was so cramped that those who sought shelter from the shower filled it, and the copier and the women were sitting in the same place. Then the scripture copier, driven by strong lust, crouched behind one of the girls, lifted her skirt, and had intercourse with her. As his penis entered her vagina, they died together embracing each other. The girl died foaming at the mouth.
Indeed, we learn that this was the punishment given by the Guardian of dharma. However intensely your body and heart may burn with the fire of lust, do not, because of the promptings of a lewd heart, commit a filthy deed. A fool indulging in lust is just like a bug jumping into a fire. Therefore, a perceptive scripture says, “A thoughtless youth easily feels lust.” Or the Nehan-gyō, expressing the same idea, says: “If you know what the five kinds of desire are, you will not find any pleasure in them. Nor will you remain a slave to them even momentarily. It is just like a dog chewing on a meatless bone, never knowing satisfaction.” (Page 245-246)
Miraculous Stories from the Japanese Buddhist Tradition (Nihon ryōiki)