 A dervish (Sufi religious leader) noticed him, and bought the grapes for him in exchange for a promise that he would treat religoius devotees and ascetics well upon becoming powerful.The writings of Isami and some other sources suggest that Iltutmish also spent some time in Baghdad, where he met noted Sufi mystics such as Shahab al-Din Abu Hafs Umar Suhrawardi and Auhaduddin Kermani.Minhaj states that the family of "Sadr-i Jahan" treated Iltutmish well, and later sold him to a merchant called Bukhara Haji.