Even unknowingly receiving stolen money or property leaves you on the hook, potentially. If the rightful owner tracks it to you they can go "that's mine!" and the courts will order you to give it to them. The loss you incur here is yours; the law treats it as an incentive to be diligent and to not deal in stolen goods.
You can of course then try to recover the value you are owed from the person who sent you the stolen goods/money, if you want/can. And they from whoever sold them the stolen goods/money. And so on, all the way back to the original thief. The whole chain is tainted. (Pun intended, maybe.)