عَنِ الْحَسَنِ بْنِ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُمَا أَنَّهُ مَرَّ بِهِمْ جَنَازَةٌ فَقَامَ الْقَوْمُ وَلَمْ يَقُمْ، فَقَالَ الْحَسَنُ: مَا صَنَعْتُمْ؟ إِنَّمَا قَامَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ تَأْذِّيًا بِرِيحِ الْيَهُودِيِّ
It is narrated from Sayyiduna Hasan bin Ali, may Allah be pleased with him, that a funeral passed by him. Upon seeing it, the people stood up, but he remained seated. Then Sayyiduna Hasan, may Allah be pleased with him, asked: What is this that you have done? The Messenger of Allah, peace and blessings be upon him, only stood up because of the discomfort caused by the stench of a Jewish corpse.