Химьяр
A South Arabian Alexander legend was written by the Yemenite traditionist Wahb ibn Munabbih (?–732 AD) and this legend was later incorporated in a book by Ibn Hisham (?–833 AD) regarding the history of the Himyarite Kingdom in ancient Yemen. In the Yemenite variation, Dhul-Qarnayn is identified with an ancient king of Yemen named Tubba', rather than Alexander the Great, but the Arabic story still describes the story of Alexander's Wall against Gog and Magog and his quest for the Water of Life. The story also mentions that Dhul-Qarnayn (Tubba') visited a castle with glass walls and visited the Brahmins of India. The South Arabian legend was composed within the context of the division between the South Arabs and North Arabs that began with the Battle of Marj Rahit in 684 AD and consolidated over two centuries.