Why did Ishmael end up in a rehab center for seven months?

Was he addicted to drugs?