CIC
Canon 397
Book II. The People of God
Faithful and Church organization
Code of Canon Law
English§1. Persons, Catholic institutions, and sacred things and places, which are located within the area of the diocese, are subject to ordinary episcopal visitation.
§2. A bishop can visit members of religious institutes of pontifical right and their houses only in the cases expressed in law.