(5) Funerals
كتاب الجنائز
(5a) Chapter: Walking at a Funeral and Prayer over the Dead - Section 1
(5) المشي بالجنازة والصلاة عليها - الفصل الأول
Mishkat al-Masabih 1649 
Jabir said that when a funeral passed by God’s messenger stood up [to show respect] and they stood up along with him. They told him it was a Jewish funeral and he replied, “Death is a fearful event, so when you see a funeral stand up.” (Bukhari and Muslim.)
وَعَنْ جَابِرٍ قَالَ: مَرَّتْ جَنَازَةٌ فَقَامَ لَهَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَقُمْنَا مَعَهُ فَقُلْنَا: يَا رَسُولَ اللَّهِ إِنَّهَا يَهُودِيَّةٌ فَقَالَ: «إِنَّ الْمَوْتَ فَزَعٌ فَإِذَا رَأَيْتُمْ الْجِنَازَة فَقومُوا»
 مُتَّفَقٌ عَلَيْهِ  (الألباني)حكم :
Reference : Mishkat al-Masabih 1649
In-book reference : Book 5, Hadith 124