A terror suspect arrested in Spain was plotting a stabbing murder spree in Majorca similar to the one carried out in London's Borough Market, a Spanish judge said.

Moroccan Abdelkader Mahmoudi was allegedly stopped from a plot to massacre members of the public in the central square in Inca, Majorca's third-largest town.

He is one of the four terror suspects said to have been radicalised by British-based cleric Tarik Chadlioui on the holiday island, authorities believe.

A Spanish judge said the arrest stopped a plot to knife people to death in the same way that terrorists butchered people in London on June 3. Inca is popular with tourists who flock to its leather factories and a weekly market.

A terror suspect arrested in Spain was plotting a stabbing murder spree in Majorca mirroring the London Borough Market carnage, a Spanish judge said. In comes days after terror raids on the island (pictured)

Moroccan Abdelkader Mahmoudi was allegedly stopped from a plot to massacre members of the public in the central square in Inca, Majorca's third-largest town. Police are pictured carrying out terror raids in Majorca on Wednesday

The four men sent to prison after appearing at Madrid's Audiencia Nacional court today were arrested in simultaneous dawn raids at four properties across Majorca and taken to the Spanish capital by helicopter. Pictures show a raid in Inca, Majorca on Wednesday

Madrid-based Santiago Pedraz, who remanded Mahmoudi and three other men in prison after questioning, said: 'Abdelkader Mahmoudi had revealed his intention to become a martyr and had allegedly planned violent acts like a massacre in the square in Inca where the town hall is, stabbing passers-by.'

No more details about the planned attack were given by the judge in his four-page ruling on why he was sending the men, arrested in Majorca on Wednesday, to prison.

He also described them as suspected members of a group created by Chadlioui, 44, 'to lend support to terror organisation ISIS through the elaboration of propaganda and the indoctrination of new members.'

The imam, who preached at the mosque attended by one of the gunmen who took part in the massacre of 89 people at Paris's Bataclan theatre in November 2015, was held at his home in Birmingham on Wednesday.

No more details about the planned attack were given by the judge in his four-page ruling on why he was sending the men, arrested in Majorca on Wednesday, to prison. Pictures show police in Spain making terror arrests on Wednesday

A Spanish judge said the plot would have seen people stabbed to death in the same way that terrorists butchered people at Borough Market in London (pictured) on June 3

Moroccan Abdelkader Mahmoudi is one of the four terror suspects said to have been radicalised by British-based cleric Tarik Chadlioui (pictured) on the holiday island, authorities believe

He is currently fighting extradition to Spain.

The four men sent to prison after appearing at Madrid's Audiencia Nacional court today were arrested in simultaneous dawn raids at four properties across Majorca and taken to the Spanish capital by helicopter. A sixth man was held in Germany.

Spanish police said in a statement after the operation, referring to ISIS as Daesh: 'The investigation began in 2015 when a series of videos were discovered on a website which showed the process of indoctrination, recruitment and subsequent journey to Syria of a young Muslim living in Spain.

'The film promoter was identified as a Salafist imam, who is now under arrest in the UK and being investigated by several European countries.

'This person had travelled to Majorca and began to dynamise the group which has now been arrested, exercising functions ranging from recruiting, indoctrination and radicalisation in favour of Daesh, and becoming from that point on their spiritual leader.

'The Salafist preacher, whose public persona was very well known by European police forces and intelligence services, devoted himself in private to recruiting people to fight in Syria and collect money for the region.

'However the security measures he adopted and his constant changes of address made his detention difficult.'

The cleric was later identified as Belgian passport holder Chadlioui when he appeared before Westminster magistrates after his arrest.

The father-of-eight, who was remanded in custody, claimed through a lawyer extradition would breach his human rights.