Śrīmad-Bhāgavatam · Text 4.29.63
Who is speaking and story frame
यथानुमीयते चित्तमुभयैरिन्द्रियेहितै: ।
एवं प्राग्देहजं कर्म लक्ष्यते चित्तवृत्तिभि: ॥ ६३ ॥
yathānumīyate cittam
ubhayair indriyehitaiḥ
evaṁ prāg-dehajaṁ karma
lakṣyate citta-vṛttibhiḥ
One can understand the mental or conscious position of a living entity by the activities of two kinds of senses — the knowledge-acquiring senses and the executive senses. Similarly, by the mental condition or consciousness of a person, one can understand his position in the previous life.
Read Śrīla Prabhupāda's purport on Vedabase.io