Shulchan Aruch on a witness serving as a dayan.