The Talmud, in the third chapter of Sanhedrin, delineates the rules governing who may provide written or oral testimony. A valid witness in a Jewish Beit Din must be an adult free man, not a woman or a slave, and not be related to any other witnesses or judges.