Walking through the graves while wearing sandals or shoes
A:
The Sunnah
is that upon burying a Muslim deceased, Muslims should stand by his grave supplicating to Allah to forgive him and keep him steadfast when he is questioned, as recorded in the Sahih (authentic) Sunnah of the Prophet (peace be upon him). It is not permissible to follow the funeral wherein people commit Bid`ahs unless one can remove or forbid the Munkar (that which is unacceptable or disapproved of by Islamic law and Muslims of sound intellect). As for a stillborn baby, if he has completed four months or more, he is to be washed, wrapped in a shroud, and buried in the graveyard.May Allah grant us success. May Allah's peace and blessings be upon our Prophet Muhammad and his family and Companions!