Senāsanakkhandhaka

Vinayapiṭaka · Cūḷavagga (2) · Vol. 7 · Section 237

[237] Now at that time the dwellings (vihāra) were unenclosed. … "Bhikkhus, I allow you to enclose them with three kinds of walls (pākāra): a brick wall, a stone wall, and a wooden wall." There was no gateway (koṭṭhaka). … "Bhikkhus, I allow a gateway." The gateway had a low foundation; it was flooded with water. … "Bhikkhus, I allow you to make it with a high foundation." The gateway had no door. … "Bhikkhus, I allow a door (kavāṭa), a door-frame (piṭṭhasaṅghāṭa), a lower pivot-socket (udukkhalika), an upper pivot-socket (uttarapāsaka), a bolt-post (aggaḷavaṭṭi), a 'monkey's head' bolt-holder (kapisīsaka), a pin (sūcikā), a latch (ghaṭikā), a keyhole (tālacchidda), a hole for the pull-cord (āviñchanacchidda), and a pull-cord (āviñchanarajju)." Grass-dust fell down in the gateway. … "Bhikkhus, I allow you, having covered it over (ogumbetvā), to make it plastered within and without, with white colouring, black colouring, red-ochre treatment, garland-work, creeper-work, makara-tooth pattern, and the fivefold-strip design (pañcapaṭika)."

English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.

This passage also appears in 3 other places