The Messenger of Allah ﷺ only stood up because of a Jewish funeral procession that passed by him, and he said, "Its smell offended me."
حدثنا عبد الرزاق أنبأنا ابن جريج قال سمعت محمد بن علي يزعم
إنما قام رسول الله ﷺ من أجل جنازة يهودي مر بها عليه فقال آذاني ريحها
No references are available.
Its isnad is daif due to a break in the chain. Muhammad bin Ali is al-Baqir, and his narration from his paternal grandfather Husayn bin Ali is a mursal report, since he only met him when he was very young. As for his narration from Ibn Abbas, it is connected, but in this hadith he did not state definitely that he was narrating from him, for if he had heard it directly from him he would not have said, "from Husayn and Ibn Abbas, or one of them." This wording indicates that it reached him from both of them, or from one of them, rather than that he heard it directly. The meaning of this hadith has already appeared at 1722, from al-Baqir from Husayn, and we explained there that it is likewise disconnected.