Every believing Muslim says ‘Allahu akbar’ every day during prayers.
You cannot criminalize ‘God is great.’
Prosecute the criminal, not a faith.
Also, just because a terrorist at the time of his act, shouts 'Allahu akbar' is fruitless- in their head they might be thinking that it's a final...