A Norwegian suspected of killing his stepsister and opening fire at a mosque near Oslo is suspected of a terrorist act and murder, police said on Monday, allegations he rejects.
The man, identified by media as 21-year old Philip Manshaus, is formally suspected of murder in the death of his 17-year-old stepsister, and of a "terrorist act" at the Al-Noor mosque on Saturday, police said in a statement.
In Norway, being formally named as a suspect is a step prior to indictment.
At a detention hearing expected to be held behind closed doors later Monday, police were to ask the court to place the suspect in isolation for four weeks.
The suspect's lawyer, Unni Fries, told AFP her client rejects the allegations.
The suspect is accused of entering the mosque in the affluent Oslo suburb of Baerum armed with at least two weapons and opening fire before being overpowered by a 65-year-old man who suffered minor injuries.
Hours after the attack, the body of a young woman was found in a home in Baerum and police on Sunday confirmed it was the suspect's 17-year-old stepsister.
According to local media, she was of Chinese origin and had been adopted by the companion of the suspect's father.
Oslo's acting chief of the police operation Rune Skjold said Sunday the investigation showed that the suspect appeared to hold "far-right" and "anti-immigrant" views.
Shortly before the mosque attack, a person identifying himself as Philip Manshaus had posted a message on the EndChan forum calling on readers to move a "race war" off the web and into real life ("irl").
The author said he was selected by "saint tarrant", an apparent reference to the New Zealand mosque attack suspect Brenton Tarrant, accused of killing 51 people in attacks on two mosques in Christchurch in March.
EndChan confirmed that a man "claiming to be the Oslo shooter" had posted material on the forum.
The post ended with the words "Valhalla awaits," a reference to the afterlife for those who have died in battle in Norse mythology.
The shooting follows a rise in white supremacist attacks, including the recent El Paso massacre in the United States.
The Oslo attack took place on the eve of the Islamic celebration of Eid Al-Adha, marking the end of the Hajj pilgrimage, stoking fears among Norway's Muslims.
In July 2011, rightwing extremist Anders Behring Breivik, who said he feared a "Muslim invasion", killed 77 people in a truck bomb blast near the government offices in Oslo and a shooting spree at a Labour Party youth camp on the island of Utoya.
Norwegian police said they had been in contact with the Oslo mosque attack suspect prior to Saturday's shooting amid concerns over what he was posting online.
In Norwegian media, neighbours and acquaintances have meanwhile described the suspect as a happy and well-adjusted person, but whose behaviour had changed during the past year.
According to public broadcaster NRK, he reportedly became "very religious" and adopted increasingly extreme rightwing views.
Conservative Prime Minister Erna Solberg on Sunday assured Norway's Muslim community of government support.
Her coalition government includes the populist Progress Party, which has in its ranks some members accused of harbouring xenophobic sentiments.