A federal judge has granted a stay of execution for Nidal Hasan, the Fort Hood shooter convicted of killing 13 people in 2009.