(52) باب الرُّخْصَةِ فِي تَرْكِ الْقِيَامِ لَهَا
Mas'ud bin Al-Hakim narrated that standing for the funeral (procession) until it is put down was mentioned, and 'Ali bin Abi Talib mentioned and 'Ali bin Abi Talib said:
"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).
Reference: Jami` at-Tirmidhi 1044
In-book reference: Book 10, Hadith 80
English translation: Vol. 1, Book 5, Hadith 1044