According to his legend, in 850, Perfecto was challenged by two Muslim men to say who was the greater prophet: Jesus or Mohammed.
At first he refrained from responding, so as not to provoke them; but they insisted that he give them an answer, promising to protect him from reprisals.
He then told them in Arabic that Muhammed was a false prophet and that he was an immoral man for supposedly seducing his adopted son's wife.
The legend says that Perfecto's final words were to bless Christ and condemn Muhammad and his Qur'an.
His martyrdom was one of the first in a period of Muslim persecution of the Christians in Al-Andalus, which began in 850 under Abd ar-Rahman II, continued under his successor Muhammad I, and went on intermittently until 960 [1].