1 Kings - Chapter 10

The Queen of Sheba heard about Solomon and visited him:

Now when the queen of Sheba heard of the fame of Solomon concerning the name of the Lord, she came to test him with hard questions. She came to Jerusalem with a very great retinue, with camels that bore spices, very much gold, and precious stones; and when she came to Solomon, she spoke with him about all that was in her heart."

This story is quoted by Jesus in Matthew 12, when he compares Solomon to himself:

"The queen of the South will rise up in the judgment with this generation and condemn it, for she came from the ends of the earth to hear the wisdom of Solomon; and indeed a greater than Solomon is here."