The Spanish capital is one of the most dangerous places to be in Spain, with more than 7,000 people killed by car and knife attacks in the past 10 years.
Many of the attacks have been linked to the city’s housing estates, including in the capital.
However, the country’s highest-profile murder was in January last year, when Ismael “El Chico” Chico, the owner of a restaurant in a luxury apartment block, was killed by two men who broke into his car and cut off his hand.
The two attackers fled the scene in a van.
The latest attack came in April, when a 20-year-old man was attacked and killed by three men at a bus station in the city centre.
Murders and shootings in Madrid have risen in recent years, with a large proportion of those killed being young people.
In June, a 21-year old student was killed when two men opened fire on him as he walked home from school.
Police said at the time the suspect had a history of mental health problems and had been known to drink.