stylistic:style_transfer, structural:summarization, linguistic:translation
Arabic

A variation of the self-fulfilling prophecy is the self-fulfilling dream, which dates back to medieval Arabic literature. Several tales in the One Thousand and One Nights, also known as the Arabian Nights, use this device to foreshadow what is going to happen, as a special form of literary prolepsis. 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 after losing belief in the prophecy, 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 ".