The Messenger of Allah ﷺ went out to attend the funeral of Abu Dahdah. When he returned, a bareback horse was brought to him, which he mounted while we walked alongside him.
أخبرنا أحمد بن سليمان قال حدثنا أبو نعيم ويحيى بن آدم قال حدثنا مالك بن مغول عن سماك
خرج رسول الله ﷺ على جنازة أبي الدحداح فلما رجع أتي بفرس معرورى فركب ومشينا معه
No references are available.
Muslim reported it in the chapter on Funerals, in the section on the one who prayed the funeral prayer riding when he departs, hadith no. 965, from the hadith of Malik bin Mughul, with this wording, and it is in Al-Kubra, hadith no. 2153.