Prosecutors say Mr. Ahmed had gone to Afghanistan to train with Osama bin Laden 's followers .