Bava Basra6: 8
הַמּוֹכֵר מָקוֹם לַחֲבֵרוֹ לַעֲשׂוֹת לוֹ קֶבֶר, וְכֵן הַמְקַבֵּל מֵחֲבֵרוֹ לַעֲשׂוֹת לוֹ קֶבֶר — עוֹשֶׂה תוֹכָהּ שֶׁל מְעָרָה אַרְבַּע אַמּוֹת עַל שֵׁשׁ, וּפוֹתֵחַ לְתוֹכָהּ שְׁמוֹנָה כּוּכִין: שְׁלֹשָׁה מִכָּאן וּשְׁלֹשָׁה מִכָּאן וּשְׁנַיִם מִכְּנֶגְדָּן. וְכוּכִין אָרְכָּן אַרְבַּע אַמּוֹת, וְרוּמָן שִׁבְעָה, וְרָחְבָּן שִׁשָּׁה. רַבִּי שִׁמְעוֹן אוֹמֵר: עוֹשֶׂה תוֹכָהּ שֶׁל מְעָרָה שֵׁשׁ אַמּוֹת עַל שְׁמוֹנֶה, וּפוֹתֵחַ לְתוֹכָהּ שְׁלֹשָׁה עָשָׂר כּוּךְ: אַרְבָּעָה מִכָּאן, וְאַרְבָּעָה מִכָּאן, וּשְׁלֹשָׁה מִכְּנֶגְדָּן, וְאֶחָד מִימִין הַפֶּתַח, וְאֶחָד מִן הַשְּׂמֹאל. וְעוֹשֶׂה חָצֵר עַל פִּי הַמְּעָרָה, שֵׁשׁ עַל שֵׁשׁ, כִּמְלֹא הַמִּטָּה וְקוֹבְרֶיהָ. וּפוֹתֵחַ לְתוֹכָהּ שְׁתֵּי מְעָרוֹת — אַחַת מִכָּאן וְאַחַת מִכָּאן. רַבִּי שִׁמְעוֹן אוֹמֵר: אַרְבַּע, לְאַרְבַּע רוּחוֹתֶיהָ. רַבָּן שִׁמְעוֹן בֶּן גַּמְלִיאֵל אוֹמֵר: הַכֹּל לְפִי הַסֶּלַע.
[If] one sells a place to another to make a catacomb for him [on it], and similarly, [if] one accepts [a contract] from another to dig a catacomb for him, he makes the inside of the crypt four cubits by six, and he opens eight recesses into it: three on each side, and two on the opposite [side]. The recesses [must be] four cubits long, seven [handbreadths] high, and six [hand-breadths] wide. R' Shimon says: He makes the inside of the crypt six cubits by eight, and opens thirteen recesses into it: four on each side, three on the opposite [side], one to the right of the entrance and one to the left. He makes a courtyard at the en-trance to the crypt, six by six, sufficient space for the bier and those who bury it. He opens two crypts into it: one on each side. R' Shimon says: Four, [one] on each of its four sides. Rabban Shimon ben Gamliel says: All according to the [nature of the] rock.