Ja'far b. Muhammad told on his father’s authority that when al- Hasan b. ‘All was sitting a bier was brought past him and the people stood up till the bier had gone by. Al-Hasan then said, “A bier carrying a Jew was brought past when God’s messenger was sitting in its path, and just because he did not like having a Jew’s bier higher than his head he stood up.”
Muhammad b. Sinn said that when a bier came past al-Hasan b. ‘All and Ibn ‘Abbas al-Hasan stood up but Ibn ‘Abbas did not, so al- Hasan said, “Did God’s messenger not stand up out of respect for the bier of a Jew ?” He replied, “Yes, but thereafter he sat.”
Abu Musa reported God’s messenger as saying, “When the bier of a Jew, a Christian, or a Muslim passes you, stand up for it. You are not standing for its sake, but for the angels who are accompanying it.”