It is reported on the authority of Jabir ibn ahadeeth that an unsaddled horse was brought to the Holy Prophet (ﷺ) and he rode on it when he returned after having offered the funeral prayer of Ibn Dahdah and we walked on foot around him.
Jabir ibn ahadeeth reported that the Holy Prophet (ﷺ) said (funeral) prayer on Ibn Dahdah: then an unsaddled horse was brought to him and a person hobbled it, and he (the Messenger of Allah) (ﷺ) rode upon it and it bounded and we followed it and ran after it. One of the people said that the Holy Prophet (ﷺ) remarked: How many among hanging bunches in the Paradise are meant for Ibn Dahdah?
´It was narrated that Jabir bin Samurah said:` "The Messenger of Allah went our to the funeral of Ibn Ad-Dahdah, and when he came back an unsaddled horse was brought to him, so he rode and we walked with him."
Hafiz Muhammad Ameen
Urdu marginal note: It is permissible to return riding (on a mount) after performing the funeral prayer. There is no difference of opinion in this matter. It is also permissible to go (to the funeral) riding. For details, see the benefits and issues of Hadith: 1944.
Source: Sunan Nasa'i: Translation and Benefits by Shaykh Hafiz Muhammad Amin Hafizullah, Page: 2028