Scores of Muslims in Barcelona attended the memorial mass which was held at the city’s Cathedral to pray for the victims, while many of them held signs condemning the terrorists’ actions.

Abdul Razzaq, national president of the Ahmadiyya Muslim Community Spain, said: “The victims of the tragic and barbaric attacks in Barcelona and their families are in our special thoughts and prayers.”

“To harm the innocent is never acceptable and goes against the teachings of Islam, the holy Koran and the holy prophet Muhammad, peace be upon him,” he added.

King Felipe VI and Queen Letizia of Spain as well as the Spanish Prime Minister and the Catalan President also attended the event which was surrounded by flowers and candles left by well-wishers.

The royal duo on Saturday visited the victims on the terrorist attack being treated in hospital.

At least 130 people were injured and 14 killed last week in spate of terrorist attacks throughout the Catalan region of Spain. ISIS claimed responsibility for the attack.

Spain announced three days of national mourning following the attacks. The central government and regional authorities also called for unity and vowed coordinated efforts to defeat terrorism.

According to a Spanish newspaper, the CIA warned Spanish police months ago of a possible terrorist attack in Barcelona.