Fatwa of Prof. Ali Gomaa - Grand Mufti of Egypt
I do not wear the hijab. Will Allah accept my fast and prayers?
Hijab, the legal attire of a Muslim woman is a duty imposed by Allah Almighty. He prohibited her from exposing those parts of her body which she has been commanded to conceal from men who are not of her unmarriageable kin. The legal attire is that which conceals the entire body except the face and hands; it must not be revealing, transparent nor cling to the body.
All legal duties must be observed
The various legal duties are not interchangeable. For instance, it is impermissible for one who performs prayers to forsake fasting. Similarly, praying and fasting do not justify that a woman neglect wearing the legal attire.
A Muslim woman who prays and fasts but does not wear the legal attire is blameless in regards to her fast and prayers but blameworthy for not wearing the hijab which is obligatory. Whether Allah will accept her fast and prayers is a matter that is left to the Almighty; a Muslim is obliged to think the best of Allah the Glorious even if he or she has sinned or disobeyed Allah.
Allah is most Merciful
A Muslim must know that one of the many kinds of mercies that Allah extends to man, is His decree that good deeds erase the bad and not vice-versa. A Muslim must also open a new page with Allah, repent from any sins and make the month of Ramadan the starting point for embarking on good deeds that would lead him to Allah the Almighty and earn HimHis favor.
A Muslim woman, upon whom Allah has bestowed the gift of prayers, fasting during Ramadan and obedience to Him must show gratitude by performing the duties she has neglected. This is because one of the signs that a good deed has been accepted is being conferred the success of following up that good deed with another.
Allah Almighty knows best.