Relatives said Thursday that while Mr. Abu Ali was in custody in Saudi Arabia he told them that his jailers in Riyadh had sometimes whipped him for three straight days , kept him in solitary confinement for months , blindfolded him and denied him food .