今昔物語集
The "Konjaku Monogatarishū" contains a story in which Yoshimi defends Ono no Takamura who was still a student, when the latter is accused of a crime. Later, Yoshimi dies of sickness and is taken before Enma in Hell. Takamura, now working in Enma's palace as a retainer and assisting in his judgments, intervenes, and Yoshimi is forgiven and returned to life.