סימן רטז סעיף ב
בְּיוֹם שְׁלֹשִׁים, אָמְרִינָן גַּם כֵּן מִקְצָת הַיּוֹם כְּכֻלּוֹ. וְכֵיוָן שֶׁאָז אֵין בָּאִים מְנַחֲמִים, לָכֵן תֵּכֶף כְּשֶׁתָּנֵץ הַחַמָּה, בָּטְלָה מִמֶּנּוּ גְּזֵרַת שְׁלֹשִׁים. חָל יוֹם שְׁלֹשִׁים בְּשַׁבָּת, מֻתָּר לוֹ לִרְחוֹץ בְּעֶרֶב שַׁבָּת בְּחַמִּין לִכְבוֹד שַׁבָּת, וְלוֹבֵשׁ בִּגְדֵי שַׁבָּת, וְחוֹזֵר לִמְקוֹמוֹ בְבֵית הַכְּנֶסֶת, אֲבָל אָסוּר בְּגִלּוּחַ (דְּחָמִיר טְפֵּי).
Regarding the thirtieth day we also say that part of the day is considered like the entire day. And since no consolers come then, therefore, immediately after sunrise he is absolved of the laws governing the thirty days of mourning. If the thirtieth day occurs on a Shabbos the mourner is permitted to bathe on Friday, with warm water, in honor of the Shabbos. He may put on Shabbos clothes and return to his regular seat in the synagogue; but he may not have his hair cut.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)