Sunan Ibn Majah, Book 6, Hadith 1611 (In-Book) ⓘ
It was narrated that ‘Ali bin Abu Talib said: “The Messenger of Allah stood up for a funeral, and we stood up, until he sat down, then we sat down.”
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، عَنْ شُعْبَةَ، عَنْ مُحَمَّدِ بْنِ الْمُنْكَدِرِ، عَنْ مَسْعُودِ بْنِ الْحَكَمِ، عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ، قَالَ قَامَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ لِجِنَازَةٍ فَقُمْنَا حَتَّى جَلَسَ فَجَلَسْنَا .
also referenced under: Hadith 1544 (Reference) & Volume 2, Book 6, Hadith 1544 (DarusSalam)