The devotion to Our Lady of Sorrows flourished in the Middle Ages, and the hymn Stabat Mater was composed for it. For a while there were two feasts in honor of the Sorrowful Mother: one going back to the 15th century, the other to the 17th century. For a while both were celebrated by the universal Church: one on the Friday before Palm Sunday, the other in September.
The principal biblical references to Mary’s sorrows are in Luke 2:35 and John 19:26-27. The Lucan passage is Simeon’s prediction about a sword piercing Mary’s soul; the Johannine passage relates Jesus’ words from the cross to Mary and to the beloved disciple.