Visiting graves is recommended in Islam to remind Muslims of death and the afterlife. During the early days of Islam, visiting graves was prohibited but later permitted with the warning not to say anything false. It is permissible for women to visit graves. Prayers can be offered for all buried in the graveyard but not for non-Muslims who died in disbelief. Certain practices like reciting Quran, facing graves during prayer, or traveling long distances specifically to visit graves are forbidden in Islam.