Every stipulation or condition in a contract, by which any party thereto is restricted from enforcing his rights under the contract by the usual legal proceedings in the ordinary tribunals, or which limits the time within which he may thus enforce his rights, is void.
R.L.1910, § 977.