Quick search by citation:

7 U.S. Code § 1981c - Oil and gas royalty payments on loans

(a) The Secretary shall permit a borrower of a loan made or insured under this chapter to make a prospective payment on such loan with proceeds from—
(1)
the leasing of oil, gas, or other mineral rights to real property used to secure such loan; or
(2)
the sale of oil, gas, or other minerals removed from real property used to secure such loan, if the value of the rights to such oil, gas, or other minerals has not been used to secure such loan.
(b)
Subsection (a) shall not apply to a borrower of a loan made or insured under this chapter with respect to which a liquidation or foreclosure proceeding is pending on December 23, 1985.
Editorial Notes
References in Text

This chapter, referred to in text, was in the original “this title”, meaning title III of Pub. L. 87–128, Aug. 8, 1961, 75 Stat. 307, known as the Consolidated Farm and Rural Development Act, which is classified principally to this chapter. For complete classification of title III to the Code, see Short Title note set out under section 1921 of this title and Tables.