The Royal Oman Police has announced three brothers of Omani nationality were responsible for the shooting near Imam Ali mosque in Wadi al-Kabir on Monday.
The perpetrators were killed during an exchange of fire with police during the incident.
A policeman and five worshipers were also killed, and 28 others were injured.
In a post on X the Royal Oman Police wrote: "The Royal Oman Police, in its commitment to keep the public informed of developments in the Al-Wadi Al-Kabir shooting incident, it had been confirmed that the three perpetrators involved in the incident were Omani nationals and brothers.
"They were killed due to their insistence on resisting security personnel. Investigations and inquiries have indicated that they were influenced by misguided ideas.
"The Royal Oman Police reiterates its thanks and gratitude to everyone for their vigilance, concern and commitment to the safety and security of their country."
Statement on the perpetrators of the Al- Wadi Al-Kabir shooting incident.. pic.twitter.com/9mBfhqA0MG
— شرطة عُمان السلطانية (@RoyalOmanPolice) July 18, 2024

US envoys arrive in Qatar as mediators work to revive Iran talks
Afghanistan launches airstrikes on IS targets on border with Pakistan
Fourteen children killed in Pakistan after tutoring centre roof collapses
Supreme Court rejects Trump bid to restrict birthright citizenship
South Africa's anti-migrant protesters march nationwide
Iran and US agree to halt attacks, uncertainty over Doha talks
Manhunt launched after Monaco blast targets Ukrainian-born oligarch
UK's Starmer unveils £15bn defence increase in long-delayed investment plan
