Bhagavad Gita 13.24

य एवं वेत्ति पुरुषं प्रकृतिं च गुणैःसह।सर्वथा वर्तमानोऽपि न स भूयोऽभिजायते ॥१३.२४॥

ya evaṃ vetti puruṣaṃ prakṛtiṃ ca guṇaiḥsahasarvathā vartamāno’pi na sa bhūyo’bhijāyate

He who thus knows the Spirit and Matter together with their qualities, in whatever condition he may be, he is not reborn.

गीता