Fed. R. Evid. 605 – Judge

The presiding judge may not testify as a witness at the trial. A party need not object to preserve the issue.

federal rules of evidence