Sahih al-Bukhari 1307
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا عَلِيُّ بْنُ عَبْدِ اللَّهِ، حَدَّثَنَا سُفْيَانُ، حَدَّثَنَا الزُّهْرِيُّ، عَنْ سَالِمٍ، عَنْ أَبِيهِ، عَنْ عَامِرِ بْنِ رَبِيعَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ إِذَا رَأَيْتُمُ الْجَنَازَةَ فَقُومُوا حَتَّى تُخَلِّفَكُمْ ". قَالَ سُفْيَانُ قَالَ الزُّهْرِيُّ أَخْبَرَنِي سَالِمٌ عَنْ أَبِيهِ قَالَ أَخْبَرَنَا عَامِرُ بْنُ رَبِيعَةَ عَنِ النَّبِيِّ صلى الله عليه وسلم. زَادَ الْحُمَيْدِيُّ " حَتَّى تُخَلِّفَكُمْ أَوْ تُوضَعَ "."
Narrated 'Amir bin Rabi`a:
The Prophet (ﷺ) said, "Whenever you see a funeral procession, stand up till the procession goes ahead of you." Al-Humaidi added, "Till the coffin leaves you behind or is put down."
Full reference and source
Sahih al-Bukhari 1307 In-book : Book 23, Hadith 66 USC-MSA web (English) : Vol. 2, Book 23, Hadith 394 (deprecated)
View source on Sunnah.com (opens in a new tab)