ז יֵשׁ מִי שֶׁאוֹמֵר שֶׁאוֹנֵן מֻתָּר בְּבָשָׂר וְיַיִן, דְּלֹא אָתֵי עֲשֵׂה דְּיָחִיד דַּאֲבֵלוּת וְדָחֵי עֲשֵׂה דְּרַבִּים דְּאוֹרַיְתָא, דְּלִשְׂמֹחַ בְּפוּרִים דִבְרֵי קַבָּלָה נִינְהוּ שֶׁהֵם כְּדִבְרֵי תּוֹרָה. הַגָּה: וְכָל שֶׁכֵּן שֶׁחַיָּב בְּמִקְרָא מְגִלָּה וּתְפִלָּה וּקְרִיאַת שְׁמַע; וְנ"ל דְּדַוְקָא בַּלַּיְלָה, אַף עַל פִּי שֶׁמֵּתוֹ מֻטָּל לְפָנָיו; אֲבָל בַּיּוֹם, שֶׁרוֹצֶה לְקָבְרוֹ, קְבוּרַת מֵתוֹ קוֹדֵם כְּמוֹ שֶׁנִּתְבָּאֵר לְעֵיל סי' תרפ"ז ס"ב, וְלָכֵן קוֹרֵא וּמִתְפַּלֵּל אַחַר כָּךְ, דְּלֹא עָדִיף מִיּוֹם טוֹב וְשַׁבָּת, כְּמוֹ שֶׁנִּתְבָּאֵר לְעֵיל סִימָן ע"א כֵּן נִרְאֶה לִי.
7 There are those who say that an onen is permitted to eat meat and wine, because the individual obligation of mourning does not come to override the communal Torah-level obligation to rejoice on Purim, for the words of the Prophets are considered like the words of the Torah. Rema: And all the more so, he is obligated in the reading of the Megillah, prayer, and Shema. And it seems to me that this applies specifically at night, even though his deceased is lying before him. But during the day, when he wants to bury the deceased, burial takes precedence, as explained above in siman 687:2. Therefore, he reads [the Megillah] and prays afterward, for [Purim] is no better than Yom Tov and Shabbat, as explained above in siman 71, in my opinion.