Matthew 1:24

Then Joseph woke up from his sleep and did what the angel of the Lord commanded him and took Mary to be his wife.

John 2:5-8

His mother said to the servants, "Do whatever He tells you to do."

John 15:14

You people are my friends if you do what I command you to.

Hebrews 11:7-8

By [having] faith, when Noah was warned [by God] about conditions that had not yet been seen [i.e., regarding events of the coming Flood], he acted out of reverent concern [for God] by constructing a ship to save [i.e., rescue] his household [from the Flood waters]. By this [i.e., his faith which led to action], Noah condemned the world and inherited righteousness because of his faith.

Hebrews 11:24-31

By [having] faith, when Moses was grown up, he refused to be known as the son of Pharaoh's daughter,

James 2:21-26

Was not our forefather Abraham made right with God by deeds [of obedience] when he offered his son Isaac [as a sacrifice] on the Altar?

Treasury of Scripture Knowledge

Summary

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

General references

Bible References

Did

John 2:5
His mother said to the servants, "Do whatever He tells you to do."
John 15:14
You people are my friends if you do what I command you to.
Hebrews 11:7
By [having] faith, when Noah was warned [by God] about conditions that had not yet been seen [i.e., regarding events of the coming Flood], he acted out of reverent concern [for God] by constructing a ship to save [i.e., rescue] his household [from the Flood waters]. By this [i.e., his faith which led to action], Noah condemned the world and inherited righteousness because of his faith.
James 2:21
Was not our forefather Abraham made right with God by deeds [of obedience] when he offered his son Isaac [as a sacrifice] on the Altar?

General references

Matthew 2:14
So he got up, took the young child and His mother at night and went to Egypt.