Article Three of the United States Constitution
Clause 3 of Section 2 says that federal crimes have to be tried in front of a jury, unless the defendant does not want a jury.  The only type of federal crime that is not tried before a jury is an impeachment.  (Article One, Section 3 of the Constitution says that only the United States Senate can try impeachment cases.)