The 27th Amendment States that "No law varying the compensation for the services of the Senators and Representatives shall take effect, until an election of Representatives shall have intervened."
This was created to keep Congress from giving themselves a pay raise while in the term.