Patanjali Yoga Sutra 4.20
Sanskrit Sutra
चित्तान्तरदृश्ये बुद्धिबुद्धेरतिप्रसङ्गः स्मृतिसङ्करश्च॥२०॥
Swami Vivekananda's translation
Another cognising mind being assumed, there will be no end to such assumptions, and confusion of memory will be the result.
Chapter link: Yoga Sutra Chapter 4

Muni's Play