24 When Joseph woke up, he did what the angel of the Lord had commanded him and took Mary home as his wife.

Read Matthew 1:24 Using Other Translations

Then Joseph being raised from sleep did as the angel of the Lord had bidden him, and took unto him his wife:
When Joseph woke from sleep, he did as the angel of the Lord commanded him: he took his wife,
When Joseph woke up, he did as the angel of the Lord commanded and took Mary as his wife.