Maya is not exactly prakriti but a modification of it. As I said earlier, Maya is just illusion. Maya can be stated to be a modification or projection of prakriti, but not prakriti in itself technically.
Prakriti is the everchanging material universe around us. It is considered as Maya due to the cravings or aversions created in the mind through contact with sense-objects, agitating it. Hence it is the mind that is the source of maya due to the effect of prakriti or sense-objects.
This is why the twin objective of practice and detachment from sense-objects is taught by Krishna in the Bhagavad Gita, to master the mind made turbulent due to contact with sense-stimuli.
Hence maya really lies in the mind with its psychological projections of craving and aversions for sense-objects, inspite of the truth of the impermanence of these sense-objects. (Here the mind, intellect and senses are considered part of Prakriti and are distinct from the Self.)
It is the Self/Brahman or pure consciousness, that is of an eternal nature compared to the temporary nature of Prakriti and sense-objects that constitute it. All spiritual practices have their objective in realizing the Self.
One should understand that the Atman( Self/Brahman) is always like the King, distinct from the body, senses, mind and intellect, all of which constitute the matter (Prakriti); and is the witness of their functions. ~ Shankara
Answering your question, the three gunas are aspects of Prakriti. Since Maya is a projection of Prakriti, it comes in the form of these three gunas. As per Krishna, Tamas binds by laziness and carelesness, Rajas by desires and extrovert action, and Sattva by attachment to knowledge and happiness.
The
story of Sri Ramakrishna with respect to the three robbers representing sattva, rajas and tamas exemplifies this process.
Gospel of Sri Ramakrishna » Blog Archive » Sattva, Rajas and Tamas