The story of his conversion is one of the most celebrated in Sufi legend, as that of a prince renouncing his throne and choosing asceticism closely echoing the legend of Gautama Buddha. Sufi tradition ascribes to Ibrahim countless acts of righteousness, and his humble lifestyle, which contrasted sharply with his early life as the king of Balkh (itself an earlier centre of Buddhism). As recounted by Abu Nu'aym, Ibrahim emphasised the importance of stillness and meditation for asceticism. Rumi extensively described the legend of Ibrahim in his "Masnavi". The most famous of Ibrahim's students is Shaqiq al-Balkhi (d. 810).