《明史·志·卷五十》
百姓男子年龄不足四十以上、妇女年龄不足五十以上的，不准出家。
民年非四十以上、女年非五十以上者，不得出家。
In the twenty-eighth year, an order was issued for Buddhist monks and Taoist priests all over the country to go to the capital for examinations and ordination certificates, and those who did not understand the classics were dismissed.