Rahman's fate is still unclear.
Meanwhile, Afghan prosecutors say they are awaiting results of a psychiatric test to determine whether to continue the case or dismiss it.
But the U.S. State Department says Rahman will soon be freed and arrangements are being made for his onward travel.
The case has drawn widespread critical attention and is being seen as a test of Afghanistan's commitment to basic human rights.
RFE/RL Afghanistan Report
SUBSCRIBE For regular news and analysis on Afghanistan by e-mail, subscribe to "RFE/RL Afghanistan Report."