It shows the Rest on the Flight into Egypt, although (as also seen in works around the same time by Dosso Dossi[1]) it omits the figure of Saint Joseph.
It is recorded in the 1587 handwritten inventory of Ranuccio I Farnese's collection in Parma as "a portrait [sic] of the Madonna in gypsy costume by the hand of Correggio, in a walnut frame and with a green cendale curtain".
The first printed reference to it is in the 1625 Musaeum by Federico Borromeo, archbishop of Milan: "Work by Correggio and also another painting, popularly known as 'la Zingara'.
The rest of the beauty of the work was undermined by the same artist by violating the laws of decorum, attributing to an Egyptian thief the figure of the Virgin".
Other copies had also already been made in the 16th century, one of which can probably be identified with the work mentioned as being in Rome in the inventory of the collection of Girolamo Garimberto from Parma: "Another small painting of the Madonna dressed in gypsy costume, resting in a forest glade on the way into Egypt with her little son in her arms, very beautiful".