Srimad Bhagvata Mahapurana: Book 11: Chapter 10: Verses 9-13
Just as fire burning a piece of wood assumes its qualities of destructibility, coming into being, smallness or magnitude, and variety, so does the soul assume the attributes of the body when it enters it. The subtle as well as the gross body is constituted of the Gunas controlled by the Lord; and transmigration of the soul is the result of identifying it with the body. This misapprehension can be dispelledonly by the real knowledge of the Self. Therefore, realize the transcendent and absolute Self, permeating 'and different from the Self. The Preceptoer is the piece of wood underneath, the disciple is the upper one and the instruction is the middle one or churning rod; and (Self-)knowledge is the delightful fire produced by friction. The perfectly purified wisdom obtained from an efficient preceptor dispels Maya, the product of the three Gunas (modes of Prakrti) and these Gunas too; and ultimately the intellect itself becomes quiescent as fire with its fuel consumed.