Medieval polemic framed Muhammad as a miracle-faking trickster to fit the heresiarch archetype

Evidence

In order to win converts to his cause, a heresiarch needs to perform miracles. Here the four texts depart completely from (deformed) Muslim tradition to portray Muhammad as a trickster and magician who dupes his followers by performing false miracles. — John V. Tolan, Saracens, 753