Jabir said that when a funeral passed by God’s messenger stood up [to show respect] and they stood up along with him. They told him it was a Jewish funeral and he replied, “Death is a fearful event, so when you see a funeral stand up.”
(Bukhari and Muslim.)