صحیح ابن حبان
Sahih Ibn Hibban
كِتَابُ الجَنَائِزِ وَمَا يَتَعَلَّقُ بِهَا مُقَدَّمًا أَوْ مُؤَخَّرًا
Book of Funerals and Related Matters
فصل في الدفن - ذكر ما يستحب للمرء عند شهود الجنازة أن لا يقعد حتى توضع
Section on burial – Recommendation not to sit until the bier is placed
Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates: Whenever the Prophet Muhammad (peace and blessings be upon him) would go with a funeral, he would not sit down until it was placed in the grave (where the narrator named Abu Muawiyah is in doubt, perhaps these are the words) or until it was buried.
تخریج الحدیث: