Pre-modern Islamic law famously discriminated against female testimony, in some cases excluding it entirely and in other cases according it half of the weight of a man's testimony. It is often assumed that this discrimination is a function of a faith-based assumption derived from Quran 2:282 which could be read to suggest that women are intellectually inferior to men. This paper shows that while such assumptions regarding the intellectual inferiority of women certainly existed among pre-modern Muslim clerics, such assumptions do not adequately explain other rules of Islamic law regulating validity of evidence, both inside and outside the courtroom, in which a norm of gender equality prevailed. Accordingly, medieval Sunni Muslim jurists deve...