Thou shalt not accept a false report; extend not thy hand to the wicked, to be an unrighteous witness.
References for Exodus 23:1
Thou shalt not follow the multitude for evil; neither shalt thou answer in a cause, to go after the multitude to pervert [judgment].
Neither shalt thou favour a poor man in his cause.
References for Exodus 23:3
-- If thou meet thine enemy's ox or his ass going astray, thou shalt certainly bring it back to him
If thou see the ass of him that hateth thee lying under its burden, beware of leaving [it] to him: thou shalt certainly loosen [it] with him.
Thou shalt not pervert the judgment of thy poor in his cause.