In any action for damages based on negligence, a person may not recover any damages if the plaintiff's injuries were in any way proximately caused by the plaintiff's commission of any felony, or immediate flight therefrom, and the plaintiff has been duly convicted of that felony.
Ca. Civ. Code § 3333.3