Amadas

He eventually finds a chapel whose rules forbid a deceased person to be buried until that person's debts are paid and that has a man's body pending burial for that reason; he spends his last coin to pay the man's debts.

He meets with a white knight and, wishing to go on adventures with him, promises him half of the gains from doing so in exchange for his cooperation.

The two are successful, winning lands, wealth, and the hand in marriage of a princess, with whom Amadas fathers a child.

[3] The practice of not allowing a corpse to be buried without its debts being paid is of long standing.

[7] The Italian tale La novella di Messer Dianese e di Messer Gigliotto (manuscript of the second quarter of XIV Century), which follows a similar plot, has the deceased appear in the form of a rich merchant who offers to become the knight's sponsor in a tournament where vast riches are promised to the victor, in exchange for half the rewards.