This story is told of the prophet Muhammad:
Upon the passing of a funeral procession near where the Prophet gathered with some of his friends, he stood up in respect, and so did the rest of them gathered. After the procession passed, one person in the crowd said: "O Messenger of God, did you know that this was the funeral of a Jew?" The Prophet replied: "Wasn't he human and had a human soul? Was he not a human created and made by God? Wasn't he a being with dignity?"
In the same spirit, the instruction given to a Muslim ruler was this: "Fill your heart with mercy and love to your subjects since they are of two kinds: a sibling in belief (i.e., a Muslim) or a human created by God the same way you were." The Muslim and non-Muslim have equal human rights.— Daniel C. Maguire, Sacred Energies