CIC
Canon 609
Book II. The People of God
Consecrated life
Code of Canon Law
English§1. Houses of a religious institute are erected by the authority competent according to the constitutions, with the previous written consent of the diocesan bishop.
§2. In addition, the permission of the Apostolic See is required to erect a monastery of nuns.