1 verses of the Douay-Rheims Bible (Challoner) have both "accursed" and "law".
John 7:49 But this multitude, that knoweth not the law, are accursed.
In other translations: ASV YLT Darby Webster