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." (ES)
English reference (ES): Vol. 1, Book 6, Hadith 1544 (ES)
Arabic reference (ES): Book 6, Hadith 1611 (ES)