The Torah portion of Korach tells the story of Korach’s rebellion against Moshe and how Korach and his followers were either burned alive or swallowed up by the earth. The verse indicates that Korach’s entire family was swallowed up, as it says, "The earth opened its mouth and swallowed them up with their households, all Korach’s people, and all their possessions… and they vanished from the midst of the congregation."
In the Torah portion of Pinchas, however, after recounting how Datan and Aviram, Korach’s co-conspirators, were swallowed up by the earth, the Torah says, "The sons of Korach, however, did not die."
Rashi explains (based on the Talmud) that the sons of Korach "were in the plot from the beginning, but at the time of the dispute they had thoughts of repentance in their hearts; therefore, a high spot was fortified for them in Gehinom and they stayed there."
Names
The names of Korach’s sons were Assir, Elkanah, and Aviassaf. The Ba’al HaTurim points out that the only other time in Tanach where the word Assir is used is in a verse in Isaiah 42:7 where it says, לְהוֹצִיא מִמַּסְגֵּר אַסִּיר, which means, "Rescuing prisoners from confinement." This alludes to the fact that Assir (and his brothers) would be rescued from their perilous spot above Gehinom.
Rabbi Levi Yitzchok Schneerson (father of the Lubavitcher Rebbe) points out that the Gematriyah (numerical value) of their three names is the same as that of תורה/Torah. (תורה is 611. אסיר is 271, אלקנה is 186, and אביאסף is 154, which equal 611.) This indicates that they upheld the same Torah that their father had denied.
Instigators
We know that the sons of Korach were involved in the rebellion from the very beginning because their story is told in conjunction with the story of Datan and Aviram who were among Moshe’s main antagonists.
Faces in the Sand
The Midrash recounts that the sons of Korach were sitting with their father when Moshe was approaching. They said (to themselves), "If we stand to honor Moshe Rabeinu we will be disgracing our father and we have already been commanded to honor our parents. And if we don’t stand up, we will be transgressing the mitzvah to stand for a sage. It is better if we stand for Moshe Rabeinu even if this brings disgrace to our father." (Their logic was, "If Moshe is wrong and the Torah is not true [Heaven forbid], then there is no basis for the mitzvah to honor one’s parents at all.") At that time, they had "teshuvah whispers" in their heart. King David said about them, "My heart is astir with gracious words."
Teshuvah Murmurings
Another Midrash says that the sons of Korach did teshuvah as they were being swallowed up by the earth. Unable to express their teshuvah verbally (as is proper when doing teshuvah), they only thought it in their hearts. Despite this, G-d saw their good intentions and saved them from the abyss.
Inheritance Lost
The Seforno writes that the reason the property of Korach was swallowed up by the earth was to ensure so that he not merit to have tzadikim benefit from his work. The Midrash says that if a coin falls from one’s hands and a poor person finds it and uses it, the one who lost it gets the merit of supporting the poor man. So too, if Korach’s property were to reach and benefit tzadikim, this would bring merit to Korach. (Supporting tzadikim is a mitzvah as is supporting the poor) Presumably, the Seforno is referring to the sons of Korach who were tzadikim (after doing teshuvah) and would have inherited their father’s estate if it were not swallowed up.
Haman’s House to Mordechai
One can ask, based on the above Seforno, how was it that the house of Haman was given to Mordechai if this would bring merit to Haman? It is possible to differentiate that, when a person dies, his estate no longer belongs to him so he receives no merit if it goes to the possession of a Tzadik. Whereas if one is still alive and his property is transferred to a Tzadik (as in the example of the fallen coin), this brings him merit even if they are not aware of it, since the property belonged to them at that time. As such, since Haman had been killed, having his house transferred to Mordechai didn’t bring him merit. The case of Korach was different however, because, even after he was swallowed up, he remained alive and his property was still connected to him.
Teshuvah Helps
Rabbi Meir Simcha of Dvinsk explains that the reason the sons of Korach were able to do Teshuvah, despite their having sinned publicly, is that Korach and his group had the law of an Ir HaNidachat (a city that was persuaded to serve idols) and, according to the (unique) laws of Ir HaNidachat, one can do teshuvah and be saved from punishment. (This also explains why the children were killed and why the possessions were swallowed up by the earth as these, too, are punishments that apply to Ir HaNidachat.)
Sang to G-d
According to the Talmud, while suspended above Gehinom, the sons of Korach sang to G-d. The Zohar says they sang Psalm 48 (which begins with the words, "A song, a psalm of the sons of Korach"). This psalm is recited as the Song of the Day on Mondays as the fire of Gehinom (which they narrowly escaped) was created on Monday. The Maharsha says that they sang Psalm 88 in which they prayed to G-d for salvation as well as psalm 49 which discusses how wealth can lead to one’s demise (as happened to their father).
Got Out after 40 Years
The Lubavitcher Rebbe explains that the reason the Torah speaks about the sons of Korach not dying in the Torah portion of Pinchas is to allude to the fact that they remained under the earth until then and that they only came out after the generation that had left Egypt had passed away. Since the sons of Korach publicly disgraced Moshe in front of that generation, their release could not be seen by those same people.
Famous and Righteous Descendants
Their descendants included Elkanah (father of the prophet Shmuel), the prophet Shmuel, and Heiman, who was the head of a group of Levites that sang in the Beit HaMikdash.
May we merit to do teshuvah in a timely manner!