Rest on the Flight into Egypt (c. 1597) is a painting by the Italian Baroque master Michelangelo Merisi da Caravaggio, in the Doria Pamphilj Gallery, Rome. Caravaggio shows Mary asleep with the infant Jesus, while Joseph holds a manuscript for an angel who is playing a hymn to Mary on the violin.
The scene is based not on any incident in the Bible itself, but on a body of tales or legends that had grown up in the early Middle Ages around the Bible story of the Holy Family fleeing into Egypt for refuge on being warned that Herod the Great was seeking to kill the Christ Child. According to the legend, Joseph and Mary paused on the flight in a grove of trees; the Holy Child ordered the trees to bend down so that Joseph could take fruit from them, and then ordered a spring of water to gush forth from the roots so that his parents could quench their thirst. This basic story acquired many extra details during the centuries.