Parts of 32nd St. blocked off after multiple people stung by bees at community Mosque.

— Nick VinZant (@NickVinZant) April 1, 2016

Worshippers at a Phoenix mosque had to be treated for injuries after they were attacked by a swarm of bees. More than 20 people were stung shortly after Friday prayers as they were leaving the Muslim Community Mosque of Metropolitan Phoenix.

Some were seen using extra clothes and blankets as they tried to take cover from the insects as they left the building.

Fire crews sprayed the insects with foam and paramedics helped people move away from the scene.

A 24-year-old man was taken to hospital following the bee attack. All those injured are now said to be in a stable condition.

The mosque was reportedly aware of a hive on the premises and a beekeeper had been scheduled to remove it on Saturday (4 April).

Phoenix Fire Department spokeswoman Ardell Deliz told ABC News it was a fewl hours until a bee keeper could remove the insects.

Lots of foam outside the mosque where earlier today bees stung several people near 32nd st & McDowell.

— Robert Hernandez (@rhernandezfox10) April 2, 2016

When bees attack! Stay clear of 32nd St. & McDowell in Phoenix. Bees attacking. Multiple people stung. People taking cover in mosque.

— Sandra Haros (@ChkFromTheRadio) April 1, 2016