The works of Ādi Śaṅkarācārya

Sanatsujātīyam

p. 244

p. 244

ज्ञानेन चात्मानमुपैति विद्वान्न चान्यः स्वर्गफलानुकाङ्क्षी ।

In plain words

By knowledge the one who knows reaches the Self. No one else does — not the man still hankering after heaven as his reward.

Close to the Sanskrit

And by knowledge the knower attains the Self; and not another, one who longs after the fruit that is heaven.