Quod contra legem fit
Quod contra legem fit, pro infecto habetur. What is done contrary to the law, is considered as not done. 4 Co. 31. No one can derive any advantage from such an act.
A Law Dictionary, Adapted to the Constitution and Laws of the United States. By John Bouvier. Published 1856.