Militant group claims attack on Egypt prosecutor