All patents granted, or homesteads allowed, shall be subject to any vested and accrued water rights, or rights to ditches and reservoirs used in connection with such water rights,[1] as may have been acquired under or recognized by section 51 of this title.
(R.S. § 2340; Mar. 3, 1891, ch. 561, § 4, 26 Stat. 1097.)