Abu Saeed Khudri reported,

The Prophet ﷺ said, "When the funeral bier is placed and Some men carry it on their shoulders, if the deceased was Salih, it says, 'Take me forward.' But if it was not righteous, it says to its family, 'Woe to it! Where are they taking it?' Every creature hears its voice except humans, for if a human heard it, he would fall dead."

Azami 3678

Sahih

عن أبي سعيد الخدري قال

كان النبي ﷺ يقول: إذا وضعت الجنازة فاحتملها الرجال على أعناقهم، فإن كانت صالحة قالت: قدموني، وإن كانت غير صالحة قالت لأهلها: يا ويلها، أين يذهبون بها؟ يسمع صوتها كل شيء إلا الإنسان، ولو سمع الإنسان لصعق.

الأعظمي 3678صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Deceased, carrying the funeral bier, and standing for it
Section
Hastening with the funeral
Numbering
Jami al-Kamil 3678 (2nd edition)
Azami 3678