I've never seen anything to directly indicate DMT as an influence on Islam, but the Sufis are a very interesting mystical branch of that religion. Well worth checking out. Much more in common with Hinduism than with our current association of Islam with the Taliban, etc.
There is a history of burning Syrian Rue as incense in Islam and the pre Islamic Zoroastrian religion, so I wouldn't be at all surprised at a hyperspatial influence. It is also said to have inspired stories of magic flying carpets. I would imagine if one burned enough in a confined space it could have a psychedelic effect. I don't know for sure if they consumed it as a tea, etc. but it would not surprise me.
This is, once again, my chance to recommend giving a listen to the music of Nusrat Fateh Ali Kahn a Sufi singer of Quali devotional music. Wonderfully psychedelic sounds. :thumb_up:
And those images are all absolutely stunning.