סימן קצט סעיף ג
אֵין קוֹבְרִין אֶת הַמֵּתִים זֶה אֵצֶל זֶה, אֶלָּא אִם כֵּן הָיָה הַדֹּפֶן הַמַפְסִיק בֵּינֵיהֶם יָכוֹל לַעֲמֹד בִּפְנֵי עַצְמוֹ, וְהוּא לַפָּחוֹת שֵׁשׁ אֶצְבָּעוֹת. וְאִם אֶפְשָׁר, יֵשׁ לְהַחֲמִיר שֶׁיִהְיוּ שִׁשָׁה טְפָחִים בֵּין זֶה לָזֶה. אֲבָל הָאִישׁ אוֹ הָאִשָּׁה, נִקְבָּרִים עִם בְּנָם אוֹ בִתָּם, אוֹ עִם בֶּן אוֹ בַּת בְּנָם וּבִתָּם. זֶה הַכְּלָל, כָּל קָטֹן שֶׁיָשֵׁן עִמּוֹ בְּחַיָיו, נִקְבָּר עִמּוֹ בְּמוֹתוֹ. אֲבָל בֵּן גָּדוֹל עִם אָבִיו אוֹ בַּת גְדוֹלָה עִם אִמָּהּ, אֵינָם נִקְבָּרִים יָחַד. וַאֲפִלּוּ בִּקְטַנִּים, דַּוְקָא לִקְבֹּר שְׁנֵיהֶם בְבַת אַחַת, אֲבָל אִם כְּבָר נִקְבַּר אֶחָד, אָסוּר לִקְבֹּר אֶצְלוֹ אֶת הָאַחֵר.
Two persons should not be buried close to each other, unless the wall that separates them can stand by itself, and is at least six finger breadths thick. If possible, it is best to be strict, so that the thickness of the separation is six tefachim. However, a man or woman may be buried with their son or daughter, or with their grandson or granddaughter. This is the rule: A minor who may sleep with him in his lifetime, may be buried with him after his death. However, an adult son with his father, or an adult daughter with her mother, should not be buried together. Even the burial of a minor [with his parent] is permissible only when they are buried at the same time, but if one of them had already been buried, it is forbidden to bury the other with him.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)