It was the 27th amendment, and thanks to Wikipedia, I can tell you that it:
"prohibits any law that increases or decreases the salary of members of
the Congress from taking effect, until the start of the next set of
terms of office for Representatives."
"prohibits any law that increases or decreases the salary of members of
the Congress from taking effect, until the start of the next set of
terms of office for Representatives."