Protévangile de Jacques
In fact, neither the "Golden Legend" nor any of the early apocryphal accounts describe the actual ceremony, and they differ as to its timing, other than that it preceded the "Journey to Bethlehem". It is unclear whether this story was set before or after the Annunciation which, in the New Testament account, occurred after their betrothal but before their marriage. In the Gospel of James it comes after the Annunciation, but in the Gospel of Pseudo-Matthew, the primary source in the West, it comes before it.