If a woman passes by a graveyard, should she say salaam to the occupants?
Question

We know that women are not allowed to visit graveyards but what do you say about a woman who passes alongside the wall of the graveyard when she is on her way somewhere and she can see the graves – should she recite the du’aa’ narrated from the Prophet (peace and blessings of Allah be upon him), or is she not allowed to, or what should she do?.
Praise be to Allah.There is nothing wrong with her reciting the du’aa’ narrated from the Prophet (peace and blessings of Allah be upon him) (“Al-salamu ‘alaykum ahl al-diyaar…”) and there is no sin on her, because she is not intending to visit the graves and she has not entered the graveyard, rather she is just passing by unintentionally.