Vaisesika Sūtras
Vaisesika Sūtra 9.2.06
आत्ममनसोः संयोगविशेषात् संस्काराच्च स्मृतिः ॥६॥
Memory arises from the impression formed by the specific and special conjunction of self and mind.