Q: Some seekers of knowledge say that
standing in a row on the part of the relatives of the deceased and extending their hands to shake hands with those passing by them to offer them condolences after finishing burial
is a Bid`ah (innovation in religion). They deem this manner forbidden, since, according to them, it matches with what is practiced by
the Christians.
Not finding any Nas (Islamic text from the Qur’an or the Sunnah) that proves or negates this, I opined to write to Your Eminence to know the correct answer regarding this issue. May Allah guide you to what pleases Him! May Allah reward you with the best reward and benefit the Muslims through you! As-salamu `alaykum warahmatullah wabarakatuh (May Allah's Peace, Mercy, and Blessings be upon you!)
A:
There is nothing wrong in receiving condolences on the part of the relatives of the deceased from people in the graveyard either before or after burial. If the former stand in a row either in the graveyard or elsewhere when receiving condolences to facilitate the mission of the latter, this implies nothing wrong. There is no prohibition regarding this as far as we know, In sha’a-Allah (if Allah wills). (Part No. 7; Page No. 417) May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.