Protévangile de Jacques
According to the apocryphal Gospel of James, Mary was the daughter of Saint Joachim and Saint Anne. Before Mary's conception, Anne had been barren and was far advanced in years. Mary was given to service as a consecrated virgin in the Temple in Jerusalem when she was three years old, much as Hannah had taken Samuel to the Tabernacle as recorded in the Old Testament. The idea that she was allowed in the Holy of Holies is a patent impossibility, as this likely would have constituted blasphemy for Ancient Jews.