وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَعَمْرٌو النَّاقِدُ، وَزُهَيْرُ بْنُ حَرْبٍ، وَابْنُ، نُمَيْرٍ قَالُوا حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ سَالِمٍ، عَنْ أَبِيهِ، عَنْ عَامِرِ بْنِ رَبِيعَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِذَا رَأَيْتُمُ الْجَنَازَةَ فَقُومُوا لَهَا حَتَّى تُخَلِّفَكُمْ أَوْ تُوضَعَ ‏"‏ ‏.‏

It is narrated on the authority of 'Amir Ibn Rabi'a (may Allah be pleased with him) that the Prophet (PBUH) said: Whenever you see a funeral procession, stand up for that until it moves away or is lowered on the ground. Translation Not Available

Book Ref: Sahih Muslim Book 11 Hadith 2090
Web Ref:  Sahih Muslim Book 4 Hadith 958 a