Abu Huraira reported God’s messenger as saying, “He who follows a bier and carries it three times has accomplished what is ’due to it from him."
Tirmidhi transmitted it, saying that this is a gharib tradition. In Sharh as-sunna it is reported that the Prophet carried the bier of Sa‘d b. Mu'adh between the two poles.