This is just the testament of Solomon. The other version I originally put up has both the testament of Solomon and the midrash (short story) of Solomon called “the King of Demons”
The basics on King Solomon from wikis:
“Solomon (/ˈsɒləmən/; Hebrew: שְׁלֹמֹה, Shlomoh),[a] also called Jedidiah (Hebrew יְדִידְיָהּ Yedidyah), was, according to the Hebrew Bible, Old Testament, Quran, and Hadiths, a fabulously wealthy and wise king of Israel who succeeded his father, King David. The conventional dates of Solomon’s reign are circa 970 to 931 BCE, normally given in alignment with the dates of David’s reign. He is described as the third king of the United Monarchy, which would break apart into the northern Kingdom of Israel and the southern Kingdom of Judah shortly after his death. Following the split, his patrilineal descendants ruled over Judah alone. He was succeeded by Jeroboam and Rehoboam.
According to the Talmud, Solomon is one of the 48 prophets. In the Quran, he is considered a major prophet, and Muslims generally refer to him by the Arabic variant Sulayman, son of David.
The Hebrew Bible credits him as the builder of the First Temple in Jerusalem, beginning in the fourth year of his reign, using the vast wealth he and his father had accumulated. He dedicated the temple to Yahweh, the God of Israel. He is portrayed as great in wisdom, wealth and power beyond either of the previous kings of the country, but also as a king who sinned. His sins included idolatry, marrying foreign women and, ultimately, turning away from Yahweh, and they led to the kingdom’s being torn in two during the reign of his son Rehoboam.
Solomon is the subject of many other later references and legends, most notably in the 1st-century apocryphal work known as the Testament of Solomon. In the New Testament, he is portrayed as a teacher of wisdom excelled by Jesus, and as arrayed in glory, but excelled by “the lilies of the field”. In later years, in mostly non-biblical circles, Solomon also came to be known as a magician and an exorcist, with numerous amulets and medallion seals dating from the Hellenistic period invoking his name.”