Protevangelium of James 4

1And behold an angel of the Lord appeared, saying unto her: Anna, Anna, the Lord hath hearkened unto thy prayer, and thou shalt conceive and bear, and thy seed shall be spoken of in the whole world. And Anna said: As the Lord my God liveth, if I bring forth either male or female, I will bring it for a gift unto the Lord my God, and it shall be ministering unto him all the days of its life.
2And behold there came two messengers saying unto her: Behold Ioacim thy husband cometh with his flocks: for an angel of the Lord came down unto him saying: Ioacim, Ioacim, the Lord God hath hearkened unto thy prayer. Get thee down hence, for behold thy wife Anna shall conceive.
3And Ioacim gat him down and called his herdsmen saying: Bring me hither ten lambs without blemish and without spot, and they shall be for the Lord my God; and bring me twelve tender calves, and they shall be for the priests and for the assembly of the elders; and an hundred kids for the whole people.
4And behold Ioacim came with his flocks, and Anna stood at the gate and saw Ioacim coming, and ran and hung upon his neck, saying: Now know I that the Lord God hath greatly blessed me: for behold the widow is no more a widow, and she that was childless shall conceive. And Ioacim rested the first day in his house.