To accompany the funeral processions (up to the place of burial) is a part of faith.
Reading Sahih Al-Bukhari, THE BOOK OF BELIEF (FAITH)
My Huda - For all muslim's need