Jami` at-Tirmidhi #1012
The Book on Jana''iz (Funerals) 10:48
Thawban narrated:
"We went with the Prophet (following) a funeral. He saw people riding so he said: 'Are you not ashamed? Indeed Allah's angels are on their feet, while you are on the backs of your beasts'"