Abu Muamar reported,

We were with Ali رضي الله عنه when a funeral procession passed by, and some people stood up for it.Ali رضي الله عنه asked, "Who gave you this ruling?"They replied, "Abu Musa."He said, "The Messenger of Allah ﷺ only did that once, when he was imitating the People of the Book. When he was forbidden from doing so, he stopped."

Ahmad 1200

Sahih

حدثنا عبد الرزاق أخبرنا سفيان عن ليث عن مجاهد

عن أبي معمر قال

كنا مع علي رضي الله عنه فمر به جنازة فقام لها ناس فقال علي رضي الله عنه من أفتاكم هذا فقالوا أبو موسى قال إنما فعل ذلك رسول الله ﷺ مرة فكان يتشبه بأهل الكتاب فلما نهي انتهى

أحمد 1200صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 1200
Ahmad 1200