Vayikra / Leviticus 5:1 · Sod
וְנֶפֶשׁ כִּי־תֶחֱטָא וְשָׁמְעָה קוֹל אָלָה וְהוּא עֵד אוֹ רָאָה אוֹ יָדָע אִם־לוֹא יַגִּיד וְנָשָׂא עֲוֺנוֹ׃
And when a soul sins in that it hears the voice of an oath, and it is a witness, having seen or known, if it does not tell, it shall bear its guilt.
Sod סוֹד
An oath before birth
Sometimes we suddenly understand something we never learned, as if remembering it. The Chasidic teachers say the soul really does remember.
Noam Elimelekh: the righteous person hears the voice of the oath as if hearing again the oath given before birth, and "saw or knew" is that the soul was shown all the worlds and taught the whole Torah before it forgot. Yismach Moshe: if even a crown of prayers trembles to rise to the King, all the more must the soul tremble before sin.
How Noam Elimelech and Yismach Moshe explain it
Noam Elimelech And hears the voice of an oath, and it is a witness, having seen or known
This is the meaning of "and hears the voice of an oath": it seems to him as if he now hears anew the voice of the curse and the oath, as said above. "And it is a witness" is a word of warning, from "I have warned (הַעִידֹתִי) you." The meaning is this: what is the thing that testifies and warns the righteous person, to arouse him so that his heart trembles? Scripture explains: "and it is a witness," that is, this is what warns the righteous person: "having seen or known." As I have already explained: before the soul goes out into the world, it is led through all the worlds and taught the whole Torah, and afterwards an angel comes and strikes it on the mouth, as it says in the Gemara. And why all this? I have already said at length: the root is that he is shown all the worlds so that afterwards he can grasp these worlds and serve the Blessed One in them, and grasp the Torah he learned. Had he not been shown all this, he could not grasp at all, neither the Torah nor the upper worlds. Only through the trace imprinted in him before he went out into the world can he grasp later. And had he not forgotten all that he saw and learned, he would have no reward for his service.
Yismach Moshe And when a soul sins in that it hears the voice of an oath
See in the holy Zohar (part III, 13a) what is explained about this, and in its way I will go, explaining by what is taught: that Sandalfon ties crowns for his Maker, adjures the crown, and it rises onto the head of its Master (Chagigah 13b). It is hard either way: if the crown has the power to rise where Sandalfon cannot reach, why the oath? Since it is holy light, why would it not want to rise? And if it cannot, what use is the oath? One must say that it can rise but draws back in fear, and the oath comes to compel it. From this one can learn fear of sin: if it draws back in fear of becoming a crown, then all the more so before sin. This is a wondrous lesson. And one who prays must also know that he is engaged in making a crown for the King of kings of kings. It is known that "hearing" means "understanding." And this is what it says: "And when a soul sins": surely it should have heard and understood the voice of the oath with which the crown is adjured, and drawn from it, from light to weighty, that one must draw back in fear of the Eternal and keep oneself from sin.
Takeaway
The Gemara tells: before birth a child is taught the whole Torah, and when he comes out into the world, an angel strikes him on the mouth and he forgets everything (Niddah 30b).
"I have warned you today" (הַעִידֹתִי) are the words of Moshe (Moses) before his death (Devarim / Deuteronomy 30:19). The words "witness" (עֵד) and "warn" share one root.
Sandalfon is an angel of whom the Talmud says that he ties crowns for his Maker (Chagigah 13b). Yismach Moshe sees these crowns as the prayers of people.
"King of kings of kings" is how the prayer book names God: He is above the kings who themselves rule over kings.