Vayikra / Leviticus 13:18 · Pshat
וּבָשָׂר כִּי־יִהְיֶה בוֹ־בְעֹרוֹ שְׁחִין וְנִרְפָּא׃
And when the body has a boil in its skin and it has healed,
Pshat פְּשָׁט
A boil that healed
An old wound has healed, and one can forget it. But sometimes something new appears in its place, and then it matters to know where it came from.
Rashi: a boil (שְׁחִין) comes from the word "heat": the flesh grew hot from a blow, not from fire. "And it has healed" means the boil closed over, and in its place a new affliction appeared, which is what the law speaks of. Rashbam likewise separates a boil from a blow from a burn by fire, which the Torah speaks of later.
How Rashi and Rashbam explain it
Rashi A boil (שְׁחִין)
This word means "heat": the flesh grew hot from a bruise that the person received from a blow, not from fire.
Rashi And it has healed
The boil closed over, and in its place another affliction appeared.
Rashbam A boil
Our teachers explained: it comes from the heat of the blows with which the person was beaten. And a boil from a burn by fire comes from the heat of fire.
Takeaway
The Torah speaks of an affliction on the site of a burn separately, a few verses later (Vayikra / Leviticus 13:24).
The word שְׁחִין is linked to the Aramaic שְׁחַן, "to be warm, to be hot". Hence the explanation of Rashi.