صحيح البخاري Sahih Bukhari كتاب الجنائز The Book of Al-Janaiz (Funerals)
بَابُ مَنْ قَامَ لِجَنَازَةِ يَهُودِيٍّ:

(49) Chapter. Standing for the funeral procession of a Jew.

2 hadith
Hadith 1311
حَدَّثَنَا مُعَاذُ بْنُ فَضَالَةَ ، حَدَّثَنَا هِشَامٌ ، عَنْ يَحْيَى ، عَنْ عُبَيْدِ اللَّهِ بْنِ مِقْسَمٍ ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُمَا , قَالَ : " مَرَّ بِنَا جَنَازَةٌ ، فَقَامَ لَهَا النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَقُمْنَا بِهِ ، فَقُلْنَا : يَا رَسُولَ اللَّهِ إِنَّهَا جِنَازَةُ يَهُودِيٍّ ، قَالَ : إِذَا رَأَيْتُمُ الْجِنَازَةَ فَقُومُوا " .
Narrated Jabir bin `Abdullah: A funeral procession passed in front of us and the Prophet stood up and we too stood up. We said, 'O Allah's Apostle! This is the funeral procession of a Jew." He said, "Whenever you see a funeral procession, you should stand up."
Hadith Reference Sahih Bukhari / The Book of Al-Janaiz (Funerals) / Hadith: 1311
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Hadith 1312
حَدَّثَنَا آدَمُ ، حَدَّثَنَا شُعْبَةُ ، حَدَّثَنَا عَمْرُو بْنُ مُرَّةَ , قَالَ : سَمِعْتُ عَبْدَ الرَّحْمَنِ بْنَ أَبِي لَيْلَى , قَالَ : كَانَ سَهْلُ بْنُ حُنَيْفٍ ، وقَيْسُ بْنُ سَعْدٍ قَاعِدَيْنِ بِالْقَادِسِيَّةِ فَمَرُّوا عَلَيْهِمَا بِجَنَازَةٍ فَقَامَا ، فَقِيلَ لَهُمَا : إِنَّهَا مِنْ أَهْلِ الْأَرْضِ أَيْ مِنْ أَهْلِ الذِّمَّةِ ، فَقَالَا : " إِنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَرَّتْ بِهِ جِنَازَةٌ فَقَامَ , فَقِيلَ لَهُ : إِنَّهَا جِنَازَةُ يَهُودِيٍّ ، فَقَالَ : أَلَيْسَتْ نَفْسًا " .
Narrated `Abdur Rahman bin Abi Laila: Sahl bin Hunaif and Qais bin Sa`d were sitting in the city of Al-Qadisiya. A funeral procession passed in front of them and they stood up. They were told that funeral procession was of one of the inhabitants of the land i.e. of a non-believer, under the protection of Muslims. They said, "A funeral procession passed in front of the Prophet and he stood up. When he was told that it was the coffin of a Jew, he said, "Is it not a living being (soul)?"
Hadith Reference Sahih Bukhari / The Book of Al-Janaiz (Funerals) / Hadith: 1312
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة