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