Al-Qaeda militants stormed a prison in southeastern Yemen on Thursday, freeing several hundred inmates including one of their leaders, a security official said.