מַצְדִּ֣יק רָ֭שָׁע וּמַרְשִׁ֣יעַ צַדִּ֑יק תּוֹעֲבַ֥ת יְ֝הוָ֗ה גַּם־שְׁנֵיהֶֽם׃
He that justifieth the wicked, and he that condemneth the righteous, Even they both are an abomination to the LORD.
Read halakhic rulings (Jewish law) on Proverbs 17:15: and classical halakhic sources.