A notable example is "The Ruined Man who Became Rich Again through a Dream", in which a man is told in his dream to leave his native city of Baghdad and travel to Cairo, where he will discover the whereabouts of some hidden treasure. The man travels there and experiences misfortune, ending up in jail, where he tells his dream to a police officer. The officer mocks the idea of foreboding dreams and tells the protagonist that he himself had a dream about a house with a courtyard and fountain in Baghdad where treasure is buried under the fountain. The man recognizes the place as his own house and, after he is released from jail, he returns home and digs up the treasure. In other words, the foreboding dream not only predicted the future, but the dream was the cause of its prediction coming true. A variant of this story later appears in English folklore as the "Pedlar of Swaffham" and Paulo Coelho's "The Alchemist"; Jorge Luis Borges' collection of short stories "A Universal History of Infamy" featured his translation of this particular story into Spanish, as "The Story Of The Two Dreamers."