Sankhya Karika Verse 35
Sanskrit Verse
सान्तःकरणा बुद्धिः सर्वं विषयमवगाहते यस्मात् । तस्मात् त्रिविधं करणं द्वारि द्वाराणि शेषाणि ॥ ३५ ॥
Transliteration
śāntaḥ karaṇaṃ buddhiḥ sarvaṃ viṣayam avagāhate yasmāt | tasmāt trividhaṃ karaṇaṃ dvāri dvārāṇi śeṣāṇi ||
Translation
Since Buddhi, together with Ahamkara and Manas, comprehends all objects (at all times), therefore, the three Instruments are like a house of which the rest are gates.
Reference: Sankhya Karika

Muni's Play