The Messenger of Allah ﷺ saw some people riding their mounts in a funeral procession and said, "Have you no shame? The angels of Allah are walking on their feet while you are riding."
حدثنا كثير بن عبيد الحمصي حدثنا بقية بن الوليد عن أبي بكر بن أبي مريم عن راشد بن سعد
رأى رسول الله ﷺ ناسا ركبانا على دوابهم في جنازة فقال ألا تستحيون أن ملائكة الله يمشون على أقدامهم وأنتم ركبان
Its isnad is daif. Tirmidhi transmitted it in the chapters on funerals, the chapter on the dislike of riding behind the funeral procession, hadith 1012, from the hadith of Abu Bakr bin Abu Maryam, narrated through him.This Abu Bakr is daif. His house had been robbed, and afterward his mind became confused, as stated in Taqrib.