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