Matthew 2:19-23 (NIV)
The Return to Nazareth
19After Herod died, an angel of the Lord appeared in a dream to Joseph in Egypt 20and said, “Get up, take the child and his mother and go to the land of Israel, for those who were trying to take the child’s life are dead.”
21So he got up, took the child and his mother and went to the land of Israel. 22But when he heard that Archelaus was reigning in Judea in place of his father Herod, he was afraid to go there. Having been warned in a dream, he withdrew to the district of Galilee, 23and he went and lived in a town called Nazareth. So was fulfilled what was said through the prophets: “He will be called a Nazarene.”
Luke 2:39 (NIV)
39When Joseph and Mary had done everything required by the Law of the Lord, they returned to Galilee to their own town of Nazareth.