´Jabir bin Samurah narrated:` "We were with the Prophet (following) the funeral of Ibn Ad-Dahbah, and he was on a horse that was walking quickly, and we were around him, and he was trotting."
Hadith Referenceسنن ترمذي / كتاب الجنائز عن رسول الله صلى الله عليه وسلم / 1013
´Jabir bin Samurah narrated:` "The Prophet followed the funeral of Ibn Ad-Dahdah walking and he returned on horseback."
Shaykh Dr. Abdur Rahman Freywai
Explanation: 1:
This is evidence that it is permissible to return from a funeral (janazah) while riding (an animal or vehicle). The scholars consider this to be permissible without any dislike (karahah).
Source: Sunan al-Tirmidhi – Majlis ‘Ilmi Dar al-Da‘wah, New Delhi Edition, Page: 1014