[Machine] "If one of you follows a funeral procession, let him take hold of the sides of the bier completely, for it is from the Sunnah, then let him either perform voluntary acts of worship after it or leave." And the wording is from the hadith of Abu Nuaim.
«إِذَا اتَّبَعَ أَحَدُكُمْ جِنَازَةً فَلْيَأْخُذْ بِجَوَانِبِ السَّرِيرِ كُلِّهِ فَإِنَّهُ مِنَ السُّنَّةِ ثُمَّ لْيَتَطَوَّعْ بَعْدُ أَوْ لِيَدَعْ» وَاللَّفْظُ لِحَدِيثِ أَبِي نُعَيْمٍ