The Sadd-i Iskandarī (Alexander's Wall) was composed by Ali-Shir Nava'i (1441–1501) in the second half of the fifteenth century.
Alexander legends did exist in other forms of Turkish though, such as Taceddin Ahmedi's Iskendername.
As described in the Quran, Dhu al-Qarnayn (Alexander) is entrusted by God to build a wall sealing away the apocalyptic tribes Gog and Magog.
Nava'i composed his text roughly the same time, though slightly after, the Persian poet Jami completed his own Kherad-nâme (Book of Alexandrian Intelligence), which influenced Nava'i's text.
In Nava'i's own Khamsa, he acknowledges the influence of his teacher in the prologue of each mathnawi.