The military judge who will oversee the trial of the man accused in the 2009 Fort Hood massacre ruled Wednesday that if Maj. Nidal Hasan doesn't shave by the start of jury selection, he will be forcibly shaved.

Col. Gregory Gross has been telling Hasan he must shave, in accordance with Army regulations. Hasan, who is a Muslim, has refused to shave for more than a month, apparently in keeping with Quranic teachings.

During a pretrial hearing Wednesday, Gross ruled Hasan in contempt of court and fined him $1,000. Gross told Hasan that he unless the defendant shaves before the start of his trial, he will be "forcibly shaved," according to Christopher Haug and Tyler Broadway, spokesmen at Fort Hood.

Even though Hasan has been in custody since November 2009 when 13 people were shot and killed at the U.S. Army installation outside Killeen, Texas, he is still in the Army and still draws his pay.

Hasan was left paralyzed from the waist down in the shooting, when police officers exchanged fire with him. He faces a possible death penalty if convicted in the shooting.