But amid his restless study Avicenna never forgot his love of enjoyment.
Under him Avicenna read the Isagoge of Porphyry and the first propositions of Euclid.
Avicenna's chief reward for this service was access to the royal library of the Samanids (q.v.), well-known patrons of scholarship and scholars.
At the age of twenty-two Avicenna lost his father.
Avicenna seems to have declined the offers of Mahmud the Ghaznevid, and proceeded westwards to Urjensh in the modern Khiva, where the vizier, regarded as a friend of scholars, gave him a small monthly stipend.