《礼记·祭法》
诸侯设立五庙和一坛一掸：即父庙、祖父庙、曾祖庙，以上三庙每月祭祀一次；其高祖庙、始祖庙，每季祭祀一次；从始祖庙中迁出的神主在坛上祭祀，从坛上迁出的远祖神主在掸上祭祀；对于迁到坛掸上的远祖神主，有所祈祷就祭祀，否则就不祭祀；从掸上迁出的远祖叫做鬼，除非遇上啼拾，通常是不祭的。
诸侯立五庙，一坛一墠。曰考庙，曰王考庙，曰皇考庙，皆月祭之；显考庙，祖考庙，享尝乃止。去祖为坛，去坛为墠。坛墠，有祷焉祭之，无祷乃止。去墠为鬼。
The princes established five temples, one altar and one dustpan: namely, the Father Temple, the Grandfather Temple, and the Great-Grandfather Temple. The above three temples are sacrificed once a month; the temples of their great-grandfather and the first ancestor are sacrificed every season; The patriarchs who moved out of the temple were sacrificed on the altar, and the patriarchs who moved out of the altar were sacrificed on the dustpan; for the patriarchs who moved to the altar and the dustpan, they were sacrificed if they prayed, otherwise they would not be sacrificed; The distant ancestors who moved from the dustpan were called ghosts, unless they encountered a crying, they were usually not sacrificed.