COVERING THE HEAD. There is no injunction in either the Qur’an or Traditions as to a man covering his head during prayers, although it is generally held to be more modest and correct for him to do so. With reference to women, the law is imperative, for ‘Ayishah relates that Muhammad said, “God accepts not the prayer of an adult woman unless she cover her head.” (Mishkat, iv. c. ix.)
Based on Hughes, Dictionary of Islam