The Prophet ﷺ stood up for the funeral procession of a Jew that passed by him, until it disappeared from sight.
أخبرنا محمد بن رافع قال حدثنا عبد الرزاق قال أنبأنا ابن جريج قال أخبرني أبو الزبير أنه سمع
قام النبي ﷺ لجنازة يهودي مرت به حتى توارت
Muslim narrated it in "the Book of Funerals," chapter "Standing for the Funeral," hadith no. 960/80, from Muhammad bin Rafi through the same chain, and it is also in Al-Kubra, hadith no. 2056.