 At that time, Iran extradited him to Mauritania, where he was held in prison until his release on July 7, 2012.He was released after renouncing his ties to al-Qaeda and condemning the September 11 attacks.The publisher of the magazine "Al-Talib" ("The Student"), al-Walid wrote poetry that attracted the attention of Osama bin Laden, and was invited to give spiritual lectures to mujahideen at Afghan training camps.