All such preemption and homestead entries which may have been made by permission of the Land Department, or in pursuance of the rules and instructions thereof, within the limits of any land grant at a time subsequent to expiration of such grant, shall be deemed valid, and a compliance with the laws and the making of the proof required shall entitle the holder of such claim to a patent therefor.
(Apr. 21, 1876, ch. 72, § 3, 19 Stat. 36.)