סימן רד סעיף ב
אִם בֵּית הַקְּבָרוֹת סָמוּךְ לָעִיר, וְהָאָבֵל לֹא הָלַךְ שָׁמָּה אֶלָּא חָזַר לְבֵיתוֹ, אֵינוֹ צָרִיךְ לִנְהוֹג אֲבֵלוּת, אֶלָּא מִשָּׁעָה שֶׁאוֹמְרִים לוֹ שֶׁנִּסְּתַּם הַקֶּבֶר. וּמִכָּל מָקוֹם אִם הוּא סָמוּךְ לַלַּיְלָה וְרוֹצֶה שֶׁיַעֲלֶה לוֹ יוֹם זֶה, אֲזַי מִשָּׁעָה שֶׁהוּא מְשַׁעֵר שֶׁנִּסְתַּם הַקֶּבֶר, יָכוֹל לִנְהוֹג אֲבֵלּוּת (עַיֵן לְשוֹן הריטב"א בְּמַסֶּכֶת מוֹעֵד קָטָן דף כב שֶׁכָּתַב, אֶלָּא מַמְתִּין עַד כְּדֵי שִעוּר וְכוּ'). וְאִם יֹּאמְרוּ לוֹ אַחַר כָּךְ שֶׁנִּסְתַּם הַקֶּבֶר קֹדֶם הַלַּיְלָה, עוֹלֶה לוֹ זֶה הַיוֹם. וְאִם הוּא עֶרֶב הָרֶגֶל, מְבַטֵּל הָרֶגֶל אֶת הָאֲבֵלוּת שֶׁל שִׁבְעָה.
If the cemetery is close to the city, and the mourner did not go [to the cemetery] but went straight home after the funeral service, he does not observe the laws of mourning until he is told that the grave has been filled. However, if night is approaching and he wants this day counted as one of the seven days of mourning, then, from the time he assumes that the grave was filled, he may begin to observe mourning. If he is informed thereafter that the grave was filled before nightfall, he may count that day as one of the seven, and if it was the day preceding a Festival, the Festival cancels the remainder of the seven days of mourning.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)