tanto peca el que mata a la vaca como el que le agarra la pata

Etymology
lit. 'a lot sins who kills the cow as well as who grasps the leg'.

Proverb

 * 1) the receiver is as bad as the thief