It is reported by Sky News.
Ali Harbi Ali, a man, was also accused of preparing a terrorist attack.
"This murder has a terrorist connection, it had both religious and ideological motives," said prosecutor Nick Price.
On October 15, British Conservative MP David Emess died of stab wounds from a man.
The attack came during his meeting with voters at a Methodist church in Essex.
The police promptly detained the attacker.
The murder was declared a terrorist act by the British police.