“The best way to get a bad law repealed is to enforce it.”
Attributed in A Dictionary of Thoughts (1908) by Tryon Edwards; this is earlier attributed to Theodore Roosevelt in Life of William McKinley (1901) by Samuel Fallows, and could be derived from the remarks of Ulysses S. Grant in his First Inaugural Address (4 March 1869): "I know no method to secure the repeal of bad or obnoxious laws so effective as their stringent execution".
Misattributed
Help us to complete the source, original and additional information
Abraham Lincoln 618
16th President of the United States 1809–1865Related quotes

1860s, First Inaugural Address (1869)
Context: Laws are to govern all alike — those opposed as well as those who favor them. I know no method to secure the repeal of bad or obnoxious laws so effective as their stringent execution.

“There are no good laws but such as repeal other laws.”
Statement (1835), as quoted in Andrew Johnson, Plebeian and Patriot (1928) by Robert Watson Winston.
Quote

“All laws stand on the best and broadest basis which go to enforce moral and social duties.”
Pasley v. Freeman (1789), 3 T. R. 51.

“The best use of laws is to teach men to trample bad laws under their feet.”
Speech at the Melodeon, on the first anniversary of the rendition of Thomas Sims (12 April 12 1852), published in Speeches, Letters and Lectures by Wendell Phillips https://archive.org/details/speecheslectures7056phil (1884), p. 91.
1850s

“This is not the “rule of law”…it is the “rule of law enforcement.””
The Guardian, "Barrett Brown statement: 'This is not the rule of law, it is the rule of law enforcement'" http://www.theguardian.com/technology/2015/jan/22/barrett-brown-hacking-sentencing-full-statement-text, 22 January 2015.

Article 9
"Declaration of Rights" http://knarf.english.upenn.edu/PShelley/declarat.html (1812)