A federal judge has granted a stay of execution for Fort Hood shooter Nidal Hasan, just three days before he was scheduled to face a military firing squad.