This poem was turned into a story in the tale from The One Thousand and One Nights: The man who became rich through a dream; and spread through various countries folklore, children's tales and literature. More recently the story was adapted into the plot of the novel The Alchemist by Paulo Coelho.
This poem was turned into a tale in "The Thousand and One Nights," becoming popular as a folk story, children's tale, and literary piece.  More recently, it was used as inspiration for the novel "The Alchemist" by Paulo Coelho.