It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Whoever offers the funeral prayer but does not go along for the burial should remain standing until the funeral disappears from sight, and whoever goes along with the funeral should not sit down before the funeral is placed on the ground at the graveyard.