The streets of Madrid have been turned to rivers as flash flooding, hailstones and a tornado hit Spain.

Video footage shows cars and rubbish bins being swept down flooded streets, while people dressed in shorts and T-shirts attempt to clear mounds of hail with shovels.

The worst-affected neighbourhood was Arganda del Rey, which was cut off from the rest of Madrid after one of the Spanish capital’s main railway lines was closed.

The day-long storm also caused delays to flights and underground train services and flooded tunnels and car parks.

Spain’s meteorological agency said it registered more than 9,000 bolts of lightning in six hours.

Streets turned to rivers as flash-flooding, hail and tornado hit Spain Show all 10 1 /10 Streets turned to rivers as flash-flooding, hail and tornado hit Spain Streets turned to rivers as flash-flooding, hail and tornado hit Spain Lightning strikes during a thunderstorm after a hot day in San Sebastian, Spain, 26 August 2019. EPA/Javier Etxezarreta Streets turned to rivers as flash-flooding, hail and tornado hit Spain People remove hail from street in Arganda del Rey, Madrid, Spain, 26 August 2019. EPA/Rodrigo Jimenez Streets turned to rivers as flash-flooding, hail and tornado hit Spain A car is damaged after the floods in Navas del Marques, Avila, Spain, 26 August 2019. EPA/Raul Sanchidrián Streets turned to rivers as flash-flooding, hail and tornado hit Spain People remove water caused by heavy rains in Arganda del Rey, Madrid, Spain, 26 August 2019. EPA/Rodrigo Jimenez Streets turned to rivers as flash-flooding, hail and tornado hit Spain People remove hail in Arganda del Rey, Madrid, Spain, 26 August 2019. EPA/Rodrigo Jimenez Streets turned to rivers as flash-flooding, hail and tornado hit Spain Still image taken from video of heavy rain in Arganda del Rey, Madrid, Spain, 26 August 2019. Isaac Garcia via Reuters Streets turned to rivers as flash-flooding, hail and tornado hit Spain Neighbours help clear a private car park after floods affected Borox, Toledo, Spain, 26 August 2019. EPA/Ismael Herrero Streets turned to rivers as flash-flooding, hail and tornado hit Spain A woman looks at the damage in a shop in Arganda del Rye, Madrid, Spain, 27 August 2019. EPA/David Fernandez Streets turned to rivers as flash-flooding, hail and tornado hit Spain Still image taken from video shows cars swept away by floodwater after heavy rainfall hit Arganda del Rey neighbourhood in Madrid, Spain, 26 August 2019. Larisa Andrei/via Reuters Streets turned to rivers as flash-flooding, hail and tornado hit Spain Buildings are reflected on a big puddle a day after heavy rains caused floods in parts of Madrid, Spain, 27 August 2019. EPA/Mariscal

The agency added that by Tuesday the rain had moved to the east coast and the Mediterranean Balearic Islands, such as Mallorca.

About 300 miles south of Madrid, a tornado also tore through Campillos, in Malaga, on Monday night, taking down power lines.

Seventy goats were reportedly killed when two barns collapsed, and another four barns, olive groves and crops were destroyed by the storm, according to regional newspaper Diario Sur.