Police officer Abdallah Ahmed said he and his colleagues were exposed to stone throwing
Officers were reportedly targeted as they tried to arrest two people – a woman and her 17-year-old son – living at an address linked to a 39-year-old suspect, who is already in custody.
One police officer involved in the operation, Abdallah Ahmed, said he and his colleagues were "exposed to stone throwing" as they entered the district of Tensta on Saturday evening.
Posting a message on Facebook, Muslim cop Mr Ahmed wrote: "Some people will never learn.
"To terror I want to say, in pure Swedish: Go to hell. My thoughts go to those affected in every way.
"Do not pray for Sweden. Stand up for Sweden, fight for Sweden and die for Sweden."
An unamed police officer reportedly confirmed the attack to place to a journalist for the Daily Mail.
The district of Tensta is a short distance from Rinkeby, the largely immigrant-populated suburb where rioters clashed with police over two days in February, setting fire to cars and hurling rocks at officers.
Police were investigating an address linked to the Stockholm terror suspect
The clashes made international headlines as they came days after a controversial speech by President Donald Trump, who alluded to an unspecified attack that he believed had occurred in Sweden.
Four people died in Stockholm when a suspected terrorist hijacked a truck and drove it through a crowded shopping district on Friday.
A 39-year-old man from Uzbekistan has been detained, with police saying they are cofident he was the lorry driver.
Get Quotes on Home Insurance