Jami` at-Tirmidhi, Book 10, Hadith 50 (Tirmidhi 1016)

Jabir bin Samurah narrated:

"The Prophet followed the funeral of Ibn Ad-Dahdah walking and he returned on horseback."