Matthew 1:25
1:25 but did not have marital relations with her until she gave birth to a son, whom he named Jesus.
Luke 2:4-7
2:4 So Joseph also went up from the town of Nazareth in Galilee to Judea, to the city of David called Bethlehem, because he was of the house and family line of David.
2:5 He went to be registered with Mary, who was promised in marriage to him, and who was expecting a child.
2:6 While they were there, the time came for her to deliver her child.
2:7 And she gave birth to her firstborn son and wrapped him in strips of cloth and laid him in a manger, because there was no place for them in the inn.