Zaabalawi contains a Sufi theme, Mahfouz mentions that he is interested in the Sufi ideas by saying: "When I set to myself a program of self-education at the beginning of my life, a large part of this program was about studying major religions and the history of civilization, and I was interested in the Sufi and Islamic writings.