A United States Embassy spokesman said that Mr. Majid , who is in American military custody , would not be handed over to the Iraqi government for execution until the matter is settled between the offices of the president and the prime minister .