Vayikra / Leviticus 3:1 · Drash
וְאִם־זֶבַח שְׁלָמִים קָרְבָּנוֹ אִם מִן־הַבָּקָר הוּא מַקְרִיב אִם־זָכָר אִם־נְקֵבָה תָּמִים יַקְרִיבֶנּוּ לִפְנֵי יְהוָה׃
And if his offering is a peace offering, if he brings it from the cattle, male or female, he shall bring it without blemish before the Eternal.
Drash דְּרָשׁ
Coming whole
It is hard to rejoice at a festive table when the heart is broken. The sages heard this in the very name of the peace offering.
Talmud: Rabbi Shimon teaches that the peace offering is brought when a person is whole (שָׁלֵם), not in grief before a relative's burial. Shem MiShmuel: the whole community brings peace offerings only on Shavuot, because the Torah was received by all together, like one man with one heart.
How Talmud, Zevachim and Shem MiShmuel explain it
Talmud, Zevachim And if his offering is a peace offering
For it was taught: Rabbi Shimon says: "peace offering" (שְׁלָמִים): when a person is whole (שָׁלֵם), he brings it, and when he is an onen, he does not bring it. From where do we include the thanksgiving offering? I include the thanksgiving offering, since it is eaten in joy like the peace offering.
Shem MiShmuel And if his offering is a peace offering
One can say further, following the holy Zohar (Vayikra 11a): "And if his offering is a peace offering. Rabbi Shimon says: it is written 'ten, ten in each spoon, by the holy shekel,'" and so on, "ten sayings at creation and ten sayings at the giving of the Torah," and so on until "and therefore the world stands and peace is found in it, and therefore 'if his offering is a peace offering': to establish the world in peace." End of his words. The explanation: the ten sayings of creation, as the world grew ever more physical, looked like a descent from the spiritual to the material. But in the ten sayings of the giving of the Torah it became clear that "the end of the deed is in the first thought," and the glory of the Holy One, blessed is He, rises most from the lower beings, as Moshe (Moses) our teacher answered the angels until they agreed with his words. By this the lack that seemed to be in creation was made up. And this is what the holy Zohar said: "and therefore the world stands and peace is found in it." And although at the giving of the Torah each one received according to his measure, everything came because of the whole, for all Israel were like one man with one heart. Therefore peace offerings, which are the wholeness of all, were brought by the community only on Atzeret, the time of the giving of the Torah, which came because of the whole and the completeness of creation.
Takeaway
An onen (אוֹנֵן) is a person on the first day of mourning, while the relative who died is not yet buried.
The thanksgiving offering (תּוֹדָה) is a kind of peace offering, brought after rescue from trouble (Vayikra / Leviticus 7:12).
Atzeret (עֲצֶרֶת) is what the sages call the festival of Shavuot. Then the whole community brought two lambs as a peace offering (Vayikra / Leviticus 23:19).
When Moshe went up to receive the Torah, the angels objected, and he answered them that the commandments of the Torah were given to people on earth, not to angels (Shabbat 88b–89a).