It is narrated on the authority of Abu Sa'id al-Khudri that the Prophet (ﷺ) said
When you follow a bier, do not sit until it is placed on the (ground).