Measure for Measure is a play written by William Shakespeare in 1604 or 1605. This comedy is often called a "problem" play.
The title comes from the Bible, Matthew 7:2:
For in the same way you judge others, you will be judged, and with the measure you use, it will be measured to you.