Tur and Beit Yosef on various people who may not serve as dayanim