Madrid's mayor on Sunday advised all residents to stay at home as the capital prepared itself for torrential rain and storms affecting parts of Spain.
National weather agency AEMET issued a maximum red alert, which means possible extreme danger, for Sunday in the Madrid region, Toledo province, and the city of Cadiz.
It said up to 120 litres per square metre of rain could fall over 12 hours in Madrid.
"Due to the exceptional and abnormal situation, in which rainfall records will be broken, I ask the people of Madrid to stay at home today," Madrid Mayor Jose Luis Martinez-Almeida wrote on X, formerly Twitter.
Madrid's emergency services sent texts to residents warning them of flood risks and advising them not to use vehicles.
LaLiga suspended an evening match between Atletico Madrid and Sevilla at the Wanda Metropolitano stadium in Madrid due to the alert.
In Alcanar, Tarragona, on Spain's east coast, emergency services have also confined residents to their homes due to flooding after 215 litres per square metre of rain in the past 24 hours.
More than a thousand schools were closed in France on Tuesday and the top floor of the Eiffel Tower was shut to tourists as a severe heatwave continued to grip Europe, triggering health alerts across the region.
Thailand's Constitutional Court on Tuesday suspended Prime Minister Paetongtarn Shinawatra from duty pending a case seeking her dismissal, in a major setback for a government under fire on multiple fronts and fighting for its survival.
President Donald Trump has signed an executive order terminating a US sanctions programme on Syria, allowing an end to the country's isolation from the international financial system and building on Washington's pledge to help it rebuild after a devastating civil war.
Former criminology graduate student Bryan Kohberger has agreed to plead guilty to killing four Idaho college students in 2022, a move that would spare him the death penalty under a deal with prosecutors, according to the family of one of the victims.