Matthew 2:9-12 NIV

9 After they had heard the king, they went on their way, and the star they had seen when it rose went ahead of them until it stopped over the place where the child was.
10 When they saw the star, they were overjoyed.
11 On coming to the house, they saw the child with his mother Mary, and they bowed down and worshiped him. Then they opened their treasures and presented him with gifts of gold, frankincense and myrrh.

References for Matthew 2:11

12 And having been warned in a dream not to go back to Herod, they returned to their country by another route.

References for Matthew 2:12