After his return to Yemen in 2000, he was taken into custody by the authorities and held for two years without trial. He agreed to abide by the parole conditions of a Yemeni jihadist rehabilitation program directed by judge Hamoud al-Hitar. In them he had to accept more education about Islam, as well as discuss his new and old ideas about jihad with the judge and younger students.[5]