A German, named Count Abrán, went to live as a hermit on the shore of the sea in Portugal. He fasted rigorously and abstained from wine. Even when he caught fish, he gave them away. He would not accept gifts, but prepared food for pilgrims.
One day while he was fishing, some Moorish ships came from Africa to attack Spain. The Moors seized Count Abrán and imprisoned him in their ship. When they had done this, the Moors waged war and stole all they could find.
However, when they tried to depart, their ship would not leave the shore. No matter how far they sailed from the shore by night, they always found themselves right back there in the morning.
This happened three nights in a row, and the Moors were frightened and called on Mohammed, son of Abdalá. The admiral was a clever man named Arrendaffe. He remembered the prisoner they had in the hold, and guessed that he was the source of their problem.
He ordered the man to be brought out and invited him to take whatever he wished of the rich booty of silver and gold and rich textiles. But Count Abrán selected only a small glass vial. The admiral asked him to identify himself and asked why he had chosen the vial. The Count explained that he was a hermit and would take nothing else from his enemy.
Hearing this, the Moors returned him to the place they had found him. They raised their sails and immediately caught a good wind that carried their ship away. The news spread, and people gathered there to praise the Virgin. Afterwards, if Moorish attackers encountered Count Abrán, they did not harm him because they held him in reverence.