Article Six of the United States Constitution
Congress gets to decide the exact words in this oath to support the Constitution.  However, in this oath, they cannot require a "religious test."  This means they cannot make a person swear that they follow a certain religion.