To get the measure of Sufi hagiography (saintly biography), it is necessary to attend to both the genre’s social underpinnings and the specificity of its representations. For the social side, hagiographies are created by disciples seeking to bolster the saintly credentials of people whom they regard as legitimizing their own practice.
This points out that to understand Sufi saint stories, you can’t just focus on the stories themselves, you have to look at why and how they were written. These weren’t just spiritual tales, they were often written by the saint’s students trying to prove their teacher’s holiness. In a way, they were also trying to legitimize their own practices by showing they were connected to someone spiritually “real.”