Suspect Tayeh al-Saihari, who had been wanted by authorities for his alleged involvement in jihadist attacks, was spotted in a house in a northern Riyadh neighbourhood, a ministry spokesman said.
In a statement carried by the official Saudi Press Agency, the spokesman said that Saihari was with Talal al-Saidi, also wanted by the authorities on suspicion of belonging to jihadist groups.
Security forces surrounded the house at dawn and ordered the suspects to surrender but they refused and opened fire on the police who then launched an assault, killing them both, he said.
It said that Saihari had "prepared the explosive belts that were used in suicide attacks", including the deadly bombing of a headquarters of the special forces in 2015 and near the Prophet's Mosque in Medina last July.
Also Read
The Islamic State group claimed responsibility for the attack that killed 15 people.
But no one claimed responsibility for a July 2016 attack in Medina in which four security guards were killed.
Disclaimer: No Business Standard Journalist was involved in creation of this content