عَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ رَضِيَ اللَّهُ عَنْهُمَا أَنَّهُ سَأَلَ رَجُلٌ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فَقَالَ: يَا رَسُولَ اللَّهِ! تَمُرُّ بِنَا جَنَازَةُ الْكَافِرِ أَفَنَقُومُ لَهَا؟ قَالَ: ((نَعَمْ، قُومُوا لَهَا، فَإِنَّكُمْ لَسْتُمْ تَقُومُونَ لَهَا إِنَّمَا تَقُومُونَ إِعْظَامًا لِلَّذِي يَقْبِضُ النُّفُوسَ))
It is narrated from Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with them both) that a man asked the Messenger of Allah (peace and blessings be upon him): "O Messenger of Allah! When the funeral of a disbeliever passes by us, should we stand up for it?" The Prophet (peace and blessings be upon him) said: "Yes! Stand up for it, for indeed you do not stand for it (the deceased), but rather you stand in reverence of the One who seizes the souls."