Matthew 1:24

Then Joseph, arising from sleep, did just as the Angel of the Lord had instructed him, and he accepted her as his wife

Other versions

King James Version

Then Joseph being raised from sleep did as the angel of the Lord had bidden him, and took unto him his wife:

English Standard Version

When Joseph woke from sleep, he did as the angel of the Lord commanded him: he took his wife,

New International Version

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