It was narrated that Thawban, the freed slave of the Messenger of Allah (ﷺ), said:
“The Messenger of Allah (ﷺ) saw some people riding on their animals in a funeral (procession). He said: ‘Do you not feel ashamed that the angels of Allah are walking on foot and you are riding?’