The Alchemist expands a tale found in the Nights: a poor man dreams of a treasure in a distant city, travels there, and learns from a stranger's mocking account of his own dream that it was buried at home all along. Borges had retold it as "The Tale of the Two Dreamers".