Reference for Sanhedrin 66:13
אלא היכי דמי אין חוזרין א"ר אבהו אמר רבי יוחנן כגון שטעה שלא כדרכה:
let him go back to school and learn it.<span class="x" onmousemove="('comment',' I.e., Since he erred in a Biblical law, his decision must be reversed. ');"><sup>24</sup></span> R. Hiyya b. Abba asked R. Johanan: What if he erred in a law regarding an adulterer or an adulteress?<span class="x" onmousemove="('comment',' Whereas other criminal cases lend themselves to mistakes in judgment, owing to the investigation of the manifold details accompanying the act, in cases of illicit intercourse, once the act is done, there is no room for error (Rashi). According to R. Hananel, the question is, what if the judge erred by deciding that liability falls only on the male transgressor against whom alone Scripture provides, (cf. Lev. XVIII, 20), and not on the woman? ');"><sup>25</sup></span>