Iraqi officials say four prisoners with links to al-Qaida have escaped from a Baghdad detention center .