In history, the life of some thinkers are different from the other people. This difference comes from their personality complexities which by its turn have given rise to many different perspectives about them given by many people. The consequence is that, knowing these thinkers truly is not an easy task. In the field of Persian literature, one of these great men is the contemporary writer, Sadegh Hedayat, whose problems, wanders, and doubts are visible in his stories. Fairly similar to Hedayat in Arabic literature is Abulala Maa'ry since the same complexities can be seen in his thoughts. One of the reasons of these complexities in these two writers cab be attributed to the impact of Gnositic doctrine that is a mixture of Jewish, Egyptian, Babelian, Greek, Syrian, and Iranian philosophical and religious creeds. This research tries to clarify some of these mutual believes like avoiding women, abstaining eating meat and inclining to vegetarianism, believing in ascetic life, interweaving body and soul to evil, originated from the Gnostic ideas as Manichaeism, Mazdakism and Marcionism.