Sayyiduna Abdullah bin Amr (may Allah be pleased with him) narrates: A man asked the Prophet (peace and blessings be upon him), he said: O Messenger of Allah (peace and blessings be upon him)! Sometimes a funeral of a disbeliever passes by us, should we stand for it as well? The Prophet (peace and blessings be upon him) said: Yes, stand for it, because you are not standing for the deceased, but rather you are standing out of respect for the one who seizes the soul.