Matthew 2:11

And going into the house they saw the child with Mary his mother, and they fell down and worshiped him. Then, opening their treasures, they offered him gifts, gold and frankincense and myrrh.

Matthew 2:12

And being warned in a dream not to return to Herod, they departed to their own country by another way.