Al-Mughirah bin Shu’bah said:“I heard the Messenger of Allah (ﷺ) say: ‘The rider should travel behind the funeral (procession) but the one who is walking may walk wherever he wants.”
Hadith No. 1481
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Shuaib Al Arnaut:
Hasan Sahih
Zubair Ali Zai:
Isnaad Hasan