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

Putin to talk of war and peace at marathon news conference
Suspected gunman in Brown University shooting found dead
No evidence alleged Bondi gunmen received military training in Philippines
At least 12 killed in Nigeria mining site attack
Russian attack on Ukraine's central Cherkasy injures six, causes blackouts
UN, aid groups warn Gaza operations at risk from Israel impediments
Israel approves natural gas deal with Egypt, Netanyahu says
US approves $11.1 billion largest-ever arms package for Taiwan
