CHAPTER: Riding During A Funeral.
Narrated Jabir bin Samurah: The Prophet صلی اللہ علیہ وسلم offered funeral prayer over Ibn al-Dahdah while we were present. He was then brought a horse, and it was tied until he rode it. It then began to gallop and we were running around it.
Authentic