Generally speaking, visiting graves is permissible for the purpose of being admonished by remembering death and the Hereafter. However, Islamic ethics and morals should be considered. This ruling applies to both men and women; everybody is allowed, even recommended, to visit the graves to remember death and the hereafter provided that he or she abides by Shari`ah ethics in this regard.
In this regard, Sheikh Ahmad Kutty, a senior lecturer and Islamic scholar at the Islamic Institute of Toronto, Ontario, Canada, states: “Visiting graves for women and men was prohibited in the early days of Islam. This was due to the fact that there were reasonable grounds for suspicion that the Arabs, newly converted to Islam and fresh from paganism, might associate the right to visit graves with grave worship rituals.
When the Islamic concept of Tawhid (Oneness of Allah) became deeply entrenched in the Islamic consciousness, there was no reasonable ground for such suspicions. Accordingly, the Prophet (peace and blessings be on him) lifted the above ban. He then went a step further by making grave visitations a recommended practice because of the associated benefits. He said: “In the past I have forbidden you from visiting graves, but now you may do so, for it might remind you of the next world.” (Reported by Ibn Majah)
As the above statement of the Prophet (peace and blessings be on him) is stated in general terms, scholars disagreed as to its precise interpretation. One group thought that the permission was general to include both men and women, since the Prophet (peace and blessings be on him) never indicated that the permission had been limited only to men.
A second group, however, said that women were excluded from the above permission and according to them women are forbidden to visit graves. They supported their view by another statement of the Prophet (peace and blessings be on him): “Allah has cursed women who frequent graves for visitation.” (Reported by At-Tirmidhi)
The first group cited a number of traditions in support of their view that women are permitted to visit graves. One of them is the report in Al-Bukhari’s Sahih, which states that once the Prophet (peace and blessings be on him) saw a woman weeping over a grave. he advised her to exercise patience. It is not stated anywhere that he told her it was forbidden for women to visit graves. It is only reasonable to assume that had visiting graves been haram (prohibited) for women, the Prophet (peace and blessings be on him) would have clearly stated so in this case.
As for the hadith that the second group cited to support their view, the first group explained that it was aimed at women who frequent graves for wailing and lamenting.
The above explanation seems more plausible when we take into account the fact that pagan Arabs were in the habit of hiring professionals — who were mostly women — to practice the ritual of wailing and lamenting on the graves.
The view of the first group is further confirmed by the report from `A’ishah. When someone objected to her about her visit to her brother’s grave, she said that the prohibition was in the early days of Islam and that the Prophet (peace and blessings be on him) had later allowed it. A similar view has been attributed to Umm `Atiyyah who said: “The Prophet (peace and blessings be on him) had never firmly prohibited women from visiting graves.”
In conclusion, let us say that the issue of women visiting graves has been debated by scholars of the past. After having reviewed the various traditions in this respect, Imam Al-Qurtubi concluded that women are permitted to visit graves on condition that they refrain from wailing and lamenting. Both Imam Ibn Hajar and Ash-Shawkani, both of whom who were thoroughly grounded in the science of Hadith, also tend to favour this view.”