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

Chāndogyopaniṣadbhāṣyam

Verse 154

ते वा एते पञ्च ब्रह्मपुरुषा स्वर्गस्य लोकस्य द्वारपाः स य एतानेव पञ्च ब्रह्मपुरुषान्स्वर्गस्य लोकस्य द्वारपान्वेदास्य कुले वीरो जायते प्रतिपद्यते स्वर्गलोक य एतानेव पञ्च ब्रह्मपुरुषान्स्वर्गस्यलोकस्य द्वारपान्वेद ॥ ६ ॥

In plain words

These five are truly the guardians at the gates of the heavenly world—the representatives of Brahman. Whoever knows these five guardians of the heavenly gates finds a valiant hero born in his lineage, and he himself attains that heavenly realm.

Close to the Sanskrit

Indeed, these five brahman-persons are the gatekeepers of the heavenly world. He who thus knows these very five brahman-persons as the gatekeepers of the heavenly world—in his family a hero is born, he attains the heavenly world, who thus knows these very five brahman-persons as the gatekeepers of the heavenly world.