Hadith 6:1148
Hushaym narrated to us, he said: Abu Hurrah informed us, from al-Hasan, that when he was preceded [in arriving] at the funeral, he would seek forgiveness for it, and sit, or depart.
حدثنا هشيم قال أخبرنا أبو حرة عن الحسن أنه كان إذا سبق بالجنازة يستغفر لها ويجلس أو ينصرف