While the exact quote doesn't appear verbatim in the book, it closely reflects the themes and messages explored within. The Alchemist emphasizes the importance of listening to one's soul and following one's personal legend. Dreams, according to the book, are a way for our soul to communicate with us and guide us towards our true purpose.
It's worth noting that the quote is a popular one and may be attributed to other sources as well. However, "The Alchemist" is the most likely origin due to its alignment with the book's core message.