A reference to a controlled study:

If you want to study the effect of bloodletting on a condition, divide the patients into two groups, perform bloodletting only on one group, watch both, and compare the results.

Al-Razi sometime between 865 and 925 CE (source)