ozart and Da Ponte use the theme of "fiancée swapping", which dates back to the 13th century; notable earlier versions are found in Boccaccio's Decameron and Shakespeare's play Cymbeline. Elements from Shakespeare's The Taming of the Shrew are also present. Furthermore, it incorporates elements of the myth of Procris as found in Ovid's Metamorphoses, vii.[10] Place: Naples Time: the 18th century

Overview from themoviedb.org