Thereat Agni offered to bestow boon on him; and thereupon Gaya asked for this boon saying, "I desire to acquaint myself with the contents of the Vedas, through ascetic penances, observance of Brahmacharya rites, vows and rules and also through the grace of my preceptors. I also desire to acquire inexhaustible wealth without transgressing the duties of the order which I belong to and without any injury to any one else.
तस्मै ह्यग्निर्वरं प्रदात् ततो ववे वरं गयः। तपसा ब्रह्मचर्येण व्रतेन नियमेन च॥ गुरूणां च प्रसादेन वेदानिच्छामि वेदितुम्। स्वधर्मेणाविहिंस्यान्यान् धनमिच्छामि चाक्षयम्॥