Fort Hood shooter Nidal Hasan has asked a federal court to delay his scheduled execution, saying he intends to argue that he was defending the Taliban from an unlawful US military attack.