It wasnarrated that 'Ali bin Abu Talib said:
"The Messenger of Allah(ﷺ) stood up for a funeral, and we stood up, until he sat down,thenwe sat down." (JA)
English reference (JA): Vol. 1, Book 6, Hadith 1544 (JA)
Arabic reference (JA): Book 6, Hadith 1611 (JA)