Valley of the ants is a medieval Jewish legend about Solomon that is retold in the Jewish EncyclopediaJewish Encyclopedia: Solomon, Solomon's Carpet and in Quran 27:18-19.Clear Quran: Surah 27
Talmud In the legend, as retold in the Jewish Encyclopedia, Solomon rides on a magic carpet over a valley of ants that speak to him. This legend is based on the Tanakh mentioning Solomon's wealth, wisdom, and dominion over all creatures.Jewish Encyclopedia: Solomon, Solomon's Carpet The legend may also be based on the Book of Proverbs, which rabbinic Judaism traditionally ascribes to Solomon,Jewish Encyclopedia: Proverbs, Not Solomonic mentioning ants as exemplars of morality.Ask The Rabbi: Purpose of Animals Of all the legends about Solomon's dominion over all creatures, the valley of the ants is the best known one among Jews.Jewish Encyclopedia: Solomon, Solomon's Carpet
Islam
The Quran mentions Solomon. The Jewish legend as compared to the one in the Quran are different except for the warning given by the queen ant, which is almost identical in both retellings regardless of the English translation of verse (āyah) eighteen.Quran Dot Com: Surah 27:18 English translations
External links Jewish Encyclopedia on Ants in Jewish Literature The Oklahomon: King Solomon and the Ant, a retelling of the legend
References