What is the answer what does this below mean if that answers my question thank you ?
In addition to its strong concern about the safety of the society, the purified shari`ah provides firm guarantees for the individual not only through the principle of warding the punishment off in case of doubt, which applies to
hudud; particularly with regard to crimes against ethics and the pure rights of Allah, but it also provided guarantees on the level of juridical procedures and the means of proving proofs. It has disallowed the judge to judge based on his own knowledge and sets as a condition that the witnesses have to be trustworthy and that their number has to be more than two in certain ethical issues.
Moreover, it gives excuse to the accused person to discredit the witness when necessary. It prescribes taking oaths and in some cases makes it firmer. It disregards the confession of the person under coercion and only regards confession with free will and choice. It has also set special conditions for the person who assumes the post of a judge including knowledge, piety, honesty, and straightforwardness in addition to other conditions known in the writings on judiciary and judgeship.
https://islamqa.org/maliki/binbayyah/29847?_e_pi_=7%2CPAGE_ID10%2C6437789225