The Great Book of Interpretation of Dreams (Tafsir al-Ahlam al-kabir) attributed to the 7th century scholar Ibn Sirin which was originally compiled in the 15th century by al-Dārī under the title Selection of Statements on the Exegesis of Dreams.
and assumes an intimate relationship between dreaming and conventional expressions of devotional religious piety.
and discusses what would later become the theory of the Oedipus complex.
Freud revised the book at least eight times and, in the third edition,
added an extensive section which treated dream symbolism very literally,