Nannie probably never read it, but the 27th amendment states,
“No law, varying the compensation for the services of the Senators and Representatives, shall take effect, until an election of representatives shall have intervened.”
Additionally,
Article I. Section 6 guarantees pay for members of Congress.
Article II, Section 1 guarantees payment for the Executive and that it will be neither increased nor decreased during his term.
Article III, Section 1 guarantees payment for judges and that it will not be decreased during term of service.
The Founders understand that tyrants use money to reward allies and punish enemies, and that doing so is both arbitrary and corrupt. It is not a leap to infer that the protection against diminishing salaries of the executive and of judges would also apply to members of Congress, especially as a means of political punishment.
Unfortunately for Massie, not only does the Constitution allow for Democrats to punish Republicans who don't conform (semi-sarc), but existing laws allow fines for members of Congress, although no mention of masks.
"Article I, Section 5, Clause 2: Each House may determine the Rules of its Proceedings, punish its Members for disorderly Behavior [emphasis added], and, with the Concurrence of two thirds, expel a Member."
Laws seem to be concerned with abuse of office.
So depending on judge and Pelosi's questionable knowledge of the Constitution, Massie may be out a few bucks.
Corrections, insights welcome.