Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:1044Qutaybah > al-Layth b. Saʿd > Yaḥyá b. Saʿīd > Wāqid / Ibn ʿAmr b. Saʿd b. Muʿādh > Nāfiʿ b. Jubayr > Masʿūd b. al-Ḥakam > ʿAlī b. Abū Ṭālib

"The Messenger of Allah ﷺ stood, then (later) he sat". (Sahih) There are narrations on this topic from Al-Hasan bin 'Ali, and Ibn 'Abbas. Abu Eisa said: The Hadith of 'Ali is a Hasan Sahih Hadith, regarding which there are narrations from four of the Tabi'in narrating it from each other. This is acted upon according to some of the people of knowledge. Ash-Shafi'i said: "This is the most correct thing on this topic" This Hadith abrogates first Hadith: "Whenever you see a funeral (procession), stand up [for it]." Ahmad said: "If he wants, he stands, and if he wants, he does not stand." His proof is that it has been reported that the Prophet ﷺ stood, then sat, and this is what Ishaq bin Ibrahim said. (Abu Eisa said:) As for the saying of 'Ali: The Prophet ﷺ stood for the funeral and then sat, he means that the Prophet ﷺ would stand when he saw a funeral (procession), then he did not do so later, so he would not stand when he saw the funeral (procession).  

الترمذي:١٠٤٤حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا اللَّيْثُ بْنُ سَعْدٍ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ وَاقِدٍ وَهُوَ ابْنُ عَمْرِو بْنِ سَعْدِ بْنِ مُعَاذٍ عَنْ نَافِعِ بْنِ جُبَيْرٍ عَنْ مَسْعُودِ بْنِ الْحَكَمِ عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ

أَنَّهُ ذُكِرَ الْقِيَامُ فِي الْجَنَائِزِ حَتَّى تُوضَعَ فَقَالَ عَلِيٌّ قَامَ رَسُولُ اللَّهِ ﷺ ثُمَّ قَعَدَ وَفِي الْبَابِ عَنِ الْحَسَنِ بْنِ عَلِيٍّ وَابْنِ عَبَّاسٍ  

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

See similar narrations below:

Collected by Nasāʾī
nasai:1999Qutaybah > al-Layth > Yaḥyá > Wāqid > Nāfiʿ b. Jubayr > Masʿūd b. al-Ḥakam > ʿAlī b. Abū Ṭālib > Dhukir al-Qiyām > al-Janāzah Ḥattá Tūḍaʿ

mention was made of standing at the funeral until the body is placed in the grave. 'Ali bin Abi Talib said: "The Messenger of Allah stood, then he sat down."  

النسائي:١٩٩٩أَخْبَرَنَا قُتَيْبَةُ قَالَ حَدَّثَنَا اللَّيْثُ عَنْ يَحْيَى عَنْ وَاقِدٍ عَنْ نَافِعِ بْنِ جُبَيْرٍ عَنْ مَسْعُودِ بْنِ الْحَكَمِ عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ

أَنَّهُ ذُكِرَ الْقِيَامُ عَلَى الْجَنَازَةِ حَتَّى تُوضَعَ فَقَالَ عَلِيُّ بْنُ أَبِي طَالِبٍ قَامَ رَسُولُ اللَّهِ ﷺ ثُمَّ قَعَدَ