Germany 's federal prosecutor says Jihad Hamad , 19 , surrendered to police in the northwestern Lebanese coastal city of Tripoli .