Tayy al arD originates from the Quran which is a yehuboric shell. The yehuboric systems contain nothing of their own and take many of their stories and derivatives from more ancient theological frameworks where the stories in these Ma'at based frameworks man of which are allegorical of the path of cultivating soul, not to be literally interpreted.
This 'folding of earth' appears in much older traditions especially in earlier Vedic and Puranic literature where adepts attain ashta siddhis (eight great powers) including prapti which is the ability to reach or access any place at will.
The only way to attain this is through cultivating a spiritual discipline and decades or even lifetimes of consistent successful hard work advancing this path through uncorrupted means. The fastest route to this divine level of existence is through unlocking all the knowledge within the Halls of Osiris through donations and advancing the soul to the highest levels. This is not something which one can do easily or which is given out freely these are the highest abilities of soul that one gets through the advancement of the Soul towards Godhead. You cannot advance to this level without the support and guidance of the Ancient Gods