He was arrested at Karachi airport in April 2002, with a passport under the name of Fouad Zouawi, a friend, and with a ticket to Zurich and then on to London.
In documents compiled by the human rights lawyer Clive Stafford Smith, he describes an encounter with someone he believes to be an MI6 officer and details the horror of his torture. Mr Habashi says the officer told him 'I'll see what we can do with the Americans'. "They gave me a cup of tea with a lot of sugar in it. He said 'Where you're going you need a lot of sugar'."
He was taken to Morocco and questioned, then tortured after refusing to admit links al-Qa'ida links.
"They took the scalpel to my right chest. One of them took my penis in his hand and began to make cuts. I was in agony. They must have done this 20 to 30 times in maybe two hours. They would do it to me about once a month."
The treatment continued in the so-called "Prison of Darkness" in Kabul, where he was kept from January to May in 2004.
"The US military told us 'Bin Laden had his laugh on 9/11 so it is now our time to have our laugh'," he said. "They would hang me up. I was allowed a few hours' sleep on the second day, then I was hung up, this time for two days. My legs had swollen. My wrists and hands had gone numb.
"Then I was taken off the wall and left in the dark. There was loud music, Slim Shady and Dr Dre, for 20 days. I heard this non-stop over and over, and they changed the sounds to horrible ghost laughter and Hallowe'en sounds. The only light I saw came from guards using flashlights to bring inedible food.
"I lost 20kg in the weeks of my stay. They used to come and weigh us every other day; it seemed like they were making sure we were losing weight."Reuse content