Barcelona, Spain (CNN) Two suspects allegedly connected to the terror cell behind attacks in Spain were formally charged Tuesday amid reports the cell was planning to target landmarks in Barcelona.

Mohamed Houli Chemlal and Driss Oukabir were charged by Madrid's High Court at a preliminary hearing on Tuesday with membership in a terrorist organization, murder and explosives possession.

Chemlal told a judge the group was preparing bombs to attack "monuments" in the Catalan city, state broadcaster RTVE and news agency EFE reported.

Another suspect, Driss Oukabir, is taken into Madrid's High Court on Tuesday.

Two other men arrested in connection with last week's terror attacks in Barcelona and Cambrils also appeared in court.

Salah El Karib will be held for further questioning. Mohamed Aalla was released and has to appear in court every Monday, a court document says.

Salah el Karib, one of four suspects arrested in the attacks, is escorted into court Tuesday in Madrid.

The four suspected members of the cell were in court less than 24 hours after police killed Younes Abouyaaqoub , the suspected driver of the van in Barcelona.

The attack killed 13 people and injured more than 100 others.

Spanish authorities said they have identified the body of Abdelbaki Es Satty, an imam who died in a house explosion in Alcanar last Wednesday night, a court document says. Chemlal was reportedly injured.

Chemial told the judge that Satty planned to immolate himself in an attack on a landmark, the media outlets said. RTVE cited "court officials."

A second body at the house has not been identified.

Investigators also recovered butane bombs, TATP and several ISIS-related documents inside the house, including plane tickets to Brussels, Belgium, the document says.

Audi caught on camera in France

Officials also revealed that a vehicle used in another deadly attack last week had been seen earlier in France.

The car, an Audi A3, was caught speeding on camera in Paris in the days before Friday's attack in the Spanish town of Cambrils, French Interior Minister Gérard Collomb said.

One woman was killed when the vehicle mowed down pedestrians early Friday in Cambrils. The five assailants in the car were shot dead by police at the scene.

An employee starts to tow away a car involved in a terrorist attack in Cambrils, south of Barcelona.

The Cambrils attack came hours after the Barcelona attack.

Collomb told CNN affiliate BFMTV on Tuesday he was unsure why the car in the Cambrils rampage had been in Paris and said the terror cell behind the attacks was not on the radar of French authorities.

Also Tuesday, Moroccan security forces detained a 34-year-old man in Oujda, Morocco, near the Algerian border, state-run television reported, citing sources close to the investigation. The man was detained for possible links to the Barcelona attack, the station said.

The man resides in Ripoli, Spain, north of Barcelona, the same town where eight of the 12 terror cell members lived.

Moroccan security forces are working with Catalan authorities and have sent experts to Spain to assist with the investigation.

Van driver shot dead

Police deployed a robot to remove what turned out to be a fake explosives belt from Abouyaaqoub's body before officers were cleared to approach it and make a positive identification, authorities said Monday. The suspect had knives in his possession when he was shot, said José Lluís Trapero, head of Catalan police.

JUST WATCHED Police: Barcelona attack suspect dead Replay More Videos ... MUST WATCH Police: Barcelona attack suspect dead 01:23

A woman alerted authorities after seeing police photos of Abouyaaqoub and becoming suspicious that the man was wearing long sleeves when it was hot outside, Trapero said. Witness accounts suggest Abouyaaqoub was alone when police arrived, Trapero said.

Abouyaaqoub, a 22-year-old Moroccan, was the suspected driver of the van that sped down Las Ramblas in the center of Barcelona on Thursday, leaving dead and injured people in its wake.

Investigators said Abouyaaqoub fled the scene on foot and hijacked a car to escape. Abouyaaqoub allegedly stabbed the owner of the car, Pau Pérez, as he parked the vehicle, and drove off with the man's body in the car. Pérez later was found dead in the vehicle, making him the 15th victim of the attacks in Barcelona and Cambrils.

Police fired on the car after it rammed through a checkpoint, but Abouyaaqoub was able to flee a second time.

Authorities said none of the 12 suspects had any previous link to terror activities.

Imam link

The investigation has focused on a property in Alcanar, a coastal village southwest of Barcelona, that exploded last week before the attacks.

The house is suspected of having been used as a base to make bombs that could have caused even more devastating attacks had they not blown up prematurely.

A source briefed on the probe said a preliminary assessment indicated traces of the powerful explosive TATP in the rubble. TATP was used in a series of deadly bombing attacks in Europe in recent years.

Police believe Muslim cleric Abdelbakir El-Satty is among those who died in the Alcanar blast.

Photos: Terror attacks in Spain A makeshift memorial pays tribute to those who were killed in a terror attack in Barcelona, Spain, on Thursday, August 17. A van rammed into a crowd of people near the popular tourist area of Las Ramblas. Early the next morning, a group of five attackers drove into pedestrians in the Spanish town of Cambrils, about 75 miles south of Barcelona. Hide Caption 1 of 19 Photos: Terror attacks in Spain Two women cry at the street memorial in Barcelona on Friday, August 18. Hide Caption 2 of 19 Photos: Terror attacks in Spain A man embraces a police officer in Cambrils on August 18. Earlier in the day, officers had engaged in a shootout with five attackers who drove a car into several pedestrians. All five were shot dead by police, four of them by one officer, police said. Hide Caption 3 of 19 Photos: Terror attacks in Spain Pigeons fly over a Barcelona crowd that gathered for a minute of silence on August 18. Hide Caption 4 of 19 Photos: Terror attacks in Spain Spain's King Felipe VI joins other officials in observing a minute of silence in Barcelona's Plaça de Catalunya. Hide Caption 5 of 19 Photos: Terror attacks in Spain Police officers investigate a car in Cambrils. Hide Caption 6 of 19 Photos: Terror attacks in Spain The van that plowed into the crowd in Barcelona is towed away from Las Ramblas on August 18. Hide Caption 7 of 19 Photos: Terror attacks in Spain Police officers check the area after towing away the van. Hide Caption 8 of 19 Photos: Terror attacks in Spain Police accompany clients of a store outside a cordoned off-area of Barcelona. Las Ramblas is especially crowded in the summer, the height of tourist season. The promenade passes by kiosks, flower sellers, cafes and bars. Hide Caption 9 of 19 Photos: Terror attacks in Spain Police officers work at the scene in Cambrils. Hide Caption 10 of 19 Photos: Terror attacks in Spain Police check people's identities as they clear Las Ramblas on August 17. Hide Caption 11 of 19 Photos: Terror attacks in Spain People evacuate an area of Barcelona on August 17. Hide Caption 12 of 19 Photos: Terror attacks in Spain Medics and police tend to injured people near the scene of the attack in Barcelona. Hide Caption 13 of 19 Photos: Terror attacks in Spain A woman cries as she speaks on her phone in Barcelona on August 17. Hide Caption 14 of 19 Photos: Terror attacks in Spain People react after the incident in Barcelona. Hide Caption 15 of 19 Photos: Terror attacks in Spain A police officer asks people to move back in Barcelona. Hide Caption 16 of 19 Photos: Terror attacks in Spain An injured person is carried by police in Barcelona. Hide Caption 17 of 19 Photos: Terror attacks in Spain People flee the scene after the attack at Las Ramblas. Hide Caption 18 of 19 Photos: Terror attacks in Spain The Catalan emergency services urged people via Twitter to avoid going out or undertaking any other type of movement that is not "strictly necessary." Hide Caption 19 of 19

The cleric once served a jail sentence for drug trafficking in the eastern Spanish province of Castellon, Catalan Justice Minister Carles Mundó i Blanch said.

Some Spanish media reported he shared a jail cell with one of the terrorists involved in the 2004 Madrid bombings that killed at least 191 people and left hundreds injured.

Responding to those reports, Blanch said, "We are not aware that this person had any communication with any inmate in any prison in Catalonia. He finished his sentence and went free."