1. There is no evidence jefferson ever said this
2. There is no evidence anyone else ever said this, either
The closest you get is MLK.
See https://www.monticello.org/research-education/thomas-jeffers...
But MLK also talks about moral obligation and not other forms of obligation.
He was not trying to create a free for all where everyone gets to decide which laws are okay or not, because he (and jefferson) were not complete morons.
Touche, however there is plenty of evidence of people throughout history making this assertion, including MLK.
He was trying to create a more just, egalitarian society. I don't understand how you can consider acting in accordance with leading research on successful drug policy "moronic"?
MLK was himself referencing Saint Augustine:
>Conversely, one has a moral responsibility to disobey unjust laws. I would agree with St. Augustine that "an unjust law is no law at all."
Considering that his rhetoric was very much based on Christianity, it's clear what standard of "unjust" he was applying.