As limited as the care is for patients in Habeb's clinics, however, the situation for the majority of Somalis suffering from mental trauma is far worse. In much of the country, modern medicine is not the first approach to curing mental illness. Because conditions ranging from epilepsy to schizophrenia are widely believed to be the result of possession by spirits or djinns, cures are often sought in faith and folklore. Mullahs routinely tie sufferers to trees and flog them with branches in order to exorcise demons. In rural areas, according to WHO officials, the mentally ill are sometimes locked indoors with a hyena for three-day stretches. Local legend has it that the arched-back scavengers possess mystical powers and can eat the evil spirits that poison the mind. Uncontrollable victims of mental trauma have simply been beaten to death by villagers.
Even in downtown Mogadishu, it is clear that few of the city's wild-eyed denizens receive treatment. On one street, a dreadlocked woman pulls down her dress and exposes her breasts. Locals say her husband and seven children perished from disease. Elsewhere, a man grimaces by the roadside. In his hand is a bunch of khat, a socially accepted but addictive stimulant. Under a nearby bridge, unemployed homeless men with bloodshot eyes rest on flattened cardboard boxes after a night's leaf-chewing.
These sufferers roam free. Others are locked down, out of sight. Abubakar Mohamed Sheikhow, 23, was chained by his wrists and ankles in a metal shack in southwest Mogadishu for 12 months before one of Habeb's rescue teams located him last year. Neighbors had restrained him after he violently attacked his mother.
Dowlay Hassaney, a 27-year-old schizophrenic, was chained to a bush in Eel-Adde, some 55 miles southwest of Mogadishu, when health workers found her in 2011. Her husband had been apparently undeterred by her mental state: She gave birth three times during eight years spent shackled in the sun, according to Habeb. Mobile teams from Habeb's mental-health facilities have saved roughly 2,500 mentally ill Somalis from chains in the southern part of the country, but Habeb guesses that another 5,000 remain shackled by their families in Mogadishu alone.
Bethuel Isoe, a psychologist with the Italian charity Group for Transcultural Relations who has spent 25 years aiding Somalis in refugee camps in Kenya and Somaliland, says that PTSD and other mental disorders may be feeding back into the cycle of violence. Those bearing psychological scars are often willing volunteers for extremist militias, he says, providing the cannon fodder for attacks. The problem is compounded by the fact that a whole generation of young people has known nothing but turmoil since 1991.
"I wish the Somali government understood the importance of this," says Isoe. "The country cannot move forward, economically, politically, or even socially with such a large number of mentally ill patients. If nothing is done, security will remain a challenge."
For his part, Habeb says he struggles to get attention from Maryan Qasim, the minister for human development and public services, whose portfolio covers health, education, youth, sports, women, and labor -- or the global charities that have increased their presence in Mogadishu.
"International agencies are only interested in diarrhea, TB, HIV, and malaria," he says, echoing a widely held view among mental health workers that infectious diseases secure a disproportionate amount of global health funding. While mental illness accounts for 14 percent of medical problems, it receives less than 1 percent of health spending in poor countries.
Dr. Zeinab Ahmead Noor, head of Somalia's mental health unit, says officials support Habeb's work by sourcing drugs through the WHO, though she admits that the health ministry is more concerned with re-opening Mogadishu's Forlanini Hospital.
"We help him as much as we can but we are more focused on the opening of a public hospital," she said. "There [are] many people who suffer from mental health. Every family has some problem, and, because of 20 years of lack of resources, there is a lot of suffering in the country."
In his ward in Mogadishu, Habeb's telephone rings throughout the small hours as new patients are admitted -- some of them kicking, screaming, and violent. The morning brings a new arrival, the 28-year-old son of a parliamentarian, whose ankles and wrists were bound with television cable after he trashed the family home.
Habeb looks exhausted and stressed. His son, Mohamed Alrahman Ali, worries that his father is overworked, that his diabetes, weight loss, and quick temper are worsened by helping Somalia's mentally ill. "I cry seven or eight times a day. I don't have any support. I am alone," says Habeb, his left leg jittering restlessly in a manner that resembles many of his patients.
There is debate over what proportion of Somalia's population suffers from mental trauma. Many describe the WHO's estimate of one-third as conservative. Some believe it is closer to two-thirds. For Habeb, the answer is simple. "All," he says, not even bothering to exclude himself.