The 179th mitzvah is that we are commanded to investigate and examine the witnesses' testimony before inflicting punishment and issuing a legal decision. We must be as exact as possible in order to avoid making innocent people guilty by reaching a decision based on first impressions and in haste.

The source of this commandment is G‑d's statement1 (exalted be He), "You must investigate and examine, making careful inquiry. And if it is established to be true..." [then you must carry out the punishment].

The details of this mitzvah and its various categories — including how to investigate,2 how to examine,3 how precise we must be, and when the testimony is accepted or rejected based on the investigation — are explained in tractate Sanhedrin.4