Giovanni Boccaccio
The plot is inspired by the tale of Madonna Beritola, told by Emilia in the second day of the "Decameron" by Giovanni Boccaccio, with significant variations.