Extreme heat and strong winds in Spain caused 'fire whirls' on Monday night, as a hellish blaze fuelled by strong winds during a heatwave burned several houses and forced thousands to flee.

Firefighters have managed to contain a wildfire in the Tres Cantos suburb, northeast of Madrid, after 180 people were evacuated overnight.

A man who had been taken by helicopter to the La Paz hospital after suffering burns on 98 percent of his body, later died, the Community of Madrid said this morning.

In a short period of time, the fire ripped through 1,000 hectares of land, tearing down an equestrian centre and killing 27 horses.

Kings College, a prestigious British private school, is also understood to have suffered some damage, and a donkey shelter burned down.