Md. Code Ann., Corps. & Ass'ns § 5-317
In addition to the requirements of § 5-305 of this subtitle, if a congregation forms a religious corporation under this part, any gift, devise, or bequest made to and intended to enure to the benefit of the congregation enures to the benefit of the religious corporation, whether or not the religious corporation was designated or described accurately in the gift, devise, or bequest.
Added by Acts 1976, c. 487, § 5.