Medieval Castilian law paired Islamic toleration with categorical exclusion from heresy

Evidence

Since God wishes men to be faithful to him freely and out of love, Christians must try to convert Moors gently and with words, without using constraint and without oppressing them. To designate the punishment of a Christian who oppresses Muslims, the Partidas refers explicitly to the chapter on the Jews, further emphasizing the similarity in legal status between Jews and Muslims. While the presentation of Muhammad in the Estoria de España would suggest that Islam would be a heresy, the Siete partidas, in accordance with thirteenth-century Canon law, gives the Muslims a subordinate but tolerated status equivalent to that of Jews, while denying any legal right to practice heresy. — John V. Tolan, Saracens, 980