A former inmate who accused federal prison workers in Illinois of defiling his Quran and torturing him with a nightstick when he complained has settled his civil rights lawsuit for $ 48,000 , one of his attorneys said Thursday .